Method | Description | |
---|---|---|
APersistentVector ( IPersistentMap meta ) : System |
Initializes an
|
|
Add ( object value ) : int | ||
Clear ( ) : void | ||
CompareTo ( object obj ) : int | ||
Contains ( object value ) : bool | ||
CopyTo ( |
||
Equals ( object obj ) : bool |
Determines whether the specified Object is equal to the current Object.
|
|
GetEnumerator ( ) : IEnumerator | ||
GetHashCode ( ) : int |
Compute a hash code for the current object.
|
|
IndexOf ( object value ) : int | ||
Insert ( int index, object value ) : void | ||
Remove ( object value ) : void | ||
RemoveAt ( int index ) : void | ||
ToString ( ) : string |
Returns a string representing the object.
|
|
assoc ( object key, object val ) : Associative |
Add a new key/value pair.
|
|
assocN ( int i, object val ) : IPersistentVector | ||
cons ( object o ) : IPersistentVector | ||
containsKey ( object key ) : bool |
Test if the map contains a key.
|
|
count ( ) : int | ||
doEquals ( IPersistentVector v, object obj ) : bool |
Compares an
|
|
empty ( ) : IPersistentCollection | ||
entryAt ( object key ) : IMapEntry |
Returns the key/value pair for this key.
|
|
equiv ( object obj ) : bool |
Determine if an object is equivalent to this (handles all collections).
|
|
invoke ( object arg1 ) : object | ||
length ( ) : int | ||
nth ( int i ) : object | ||
peek ( ) : object |
Peek at the top (first) element in the stack.
|
|
pop ( ) : IPersistentStack | ||
rseq ( ) : ISeq |
Gets an
|
|
seq ( ) : ISeq |
Gets an ISeq to allow first/rest iteration through the collection.
|
|
stream ( ) : IStream | ||
this ( int index ) : object | ||
valAt ( object key ) : object |
Gets the value associated with a key.
|
|
valAt ( object key, object notFound ) : object |
Gets the value associated with a key.
|
Method | Description | |
---|---|---|
IPersistentCollection ( object o ) : IPersistentCollection |
Returns a new collection that has the given element cons'd on front of the eixsting collection.
|
|
doEquiv ( IPersistentVector v, object obj ) : bool |
public APersistentVector ( IPersistentMap meta ) : System | ||
meta | IPersistentMap | The metadata to attach |
return | System |
public CopyTo ( |
||
array | ||
index | int | |
return | void |
public Equals ( object obj ) : bool | ||
obj | object | The Object to compare with the current Object. |
return | bool |
public Insert ( int index, object value ) : void | ||
index | int | |
value | object | |
return | void |
public assoc ( object key, object val ) : Associative | ||
key | object | The key |
val | object | The value |
return | Associative |
public abstract assocN ( int i, object val ) : IPersistentVector | ||
i | int | |
val | object | |
return | IPersistentVector |
public abstract cons ( object o ) : IPersistentVector | ||
o | object | |
return | IPersistentVector |
public containsKey ( object key ) : bool | ||
key | object | The key to test for membership |
return | bool |
public static doEquals ( IPersistentVector v, object obj ) : bool | ||
v | IPersistentVector | The |
obj | object | The other object to compare. |
return | bool |
public abstract empty ( ) : IPersistentCollection | ||
return | IPersistentCollection |
public entryAt ( object key ) : IMapEntry | ||
key | object | The key to retrieve |
return | IMapEntry |
public valAt ( object key ) : object | ||
key | object | The key to look up. |
return | object |
public valAt ( object key, object notFound ) : object | ||
key | object | The key to look up. |
notFound | object | The value to return if the key is not present. |
return | object |