메소드 | 설명 | |
---|---|---|
PersistentVector ( int cnt, int shift, Node root, object tail ) : System |
Initialize a
|
|
asTransient ( ) : ITransientCollection | ||
assocN ( int i, Object val ) : IPersistentVector |
Return a new vector with the i-th value set to
|
|
length ( ) : int |
Gets the number of items in the vector. Not sure why you wouldn't use |
|
meta ( ) : IPersistentMap | ||
nth ( int i, Object notFound ) : Object | ||
nth ( int i ) : object |
Get the i-th item in the vector. Throws an exception if the index |
|
pop ( ) : IPersistentStack |
Returns a new stack with the top element popped.
|
|
seq ( ) : ISeq | ||
withMeta ( IPersistentMap meta ) : IObj |
메소드 | 설명 | |
---|---|---|
ArrayFor ( int i ) : object[] | ||
PersistentVector ( IPersistentMap meta, int cnt, int shift, Node root, object tail ) : System |
Initialize a
|
|
chunkedSeq ( ) : IChunkedSeq | ||
cons ( object o ) : IPersistentVector | ||
count ( ) : int | ||
create ( ) : |
||
create ( ISeq items ) : |
||
create1 ( ICollection items ) : |
||
doAssoc ( int level, Node node, int i, object val ) : Node | ||
empty ( ) : IPersistentCollection | ||
newPath ( AtomicReference |
||
popTail ( int level, Node node ) : Node | ||
pushTail ( int level, Node parent, Node tailnode ) : Node | ||
tailoff ( ) : int |
public PersistentVector ( int cnt, int shift, Node root, object tail ) : System | ||
cnt | int | |
shift | int | |
root | Node | |
tail | object | |
리턴 | System |
public assocN ( int i, Object val ) : IPersistentVector | ||
i | int | The index of the item to set. |
val | Object | The new value |
리턴 | IPersistentVector |