C# Class clojure.lang.PersistentVector.TransientVector

Inheritance: AFn, ITransientVector, Counted
显示文件 Open project: richhickey/clojure-clr

Public Methods

Method Description
TransientVector ( PersistentVector v ) : System
assoc ( object key, object val ) : ITransientAssociative
assocN ( int i, object val ) : ITransientVector
conj ( object val ) : ITransientCollection
count ( ) : int
nth ( int i ) : object
nth ( int i, object notFound ) : object
persistent ( ) : IPersistentCollection
pop ( ) : ITransientVector
valAt ( object key ) : object
valAt ( object key, object notFound ) : object

Private Methods

Method Description
ArrayFor ( int i ) : object[]
EditableArrayFor ( int i ) : object[]
EditableRoot ( Node node ) : Node
EditableTail ( object tl ) : object[]
EnsureEditable ( Node node ) : Node
EnsureEditable ( ) : void
PopTail ( int level, Node node ) : Node
PushTail ( int level, Node parent, Node tailnode ) : Node
Tailoff ( ) : int
TransientVector ( int cnt, int shift, Node root, Object tail ) : System
doAssoc ( int level, Node node, int i, Object val ) : Node

Method Details

TransientVector() public method

public TransientVector ( PersistentVector v ) : System
v PersistentVector
return System

assoc() public method

public assoc ( object key, object val ) : ITransientAssociative
key object
val object
return ITransientAssociative

assocN() public method

public assocN ( int i, object val ) : ITransientVector
i int
val object
return ITransientVector

conj() public method

public conj ( object val ) : ITransientCollection
val object
return ITransientCollection

count() public method

public count ( ) : int
return int

nth() public method

public nth ( int i ) : object
i int
return object

nth() public method

public nth ( int i, object notFound ) : object
i int
notFound object
return object

persistent() public method

public persistent ( ) : IPersistentCollection
return IPersistentCollection

pop() public method

public pop ( ) : ITransientVector
return ITransientVector

valAt() public method

public valAt ( object key ) : object
key object
return object

valAt() public method

public valAt ( object key, object notFound ) : object
key object
notFound object
return object