Метод | Описание | |
---|---|---|
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.
|
Метод | Описание | |
---|---|---|
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 |
Результат | System |
public CopyTo ( |
||
array | ||
index | int | |
Результат | void |
public Equals ( object obj ) : bool | ||
obj | object | The Object to compare with the current Object. |
Результат | bool |
public Insert ( int index, object value ) : void | ||
index | int | |
value | object | |
Результат | void |
public assoc ( object key, object val ) : Associative | ||
key | object | The key |
val | object | The value |
Результат | Associative |
public abstract assocN ( int i, object val ) : IPersistentVector | ||
i | int | |
val | object | |
Результат | IPersistentVector |
public abstract cons ( object o ) : IPersistentVector | ||
o | object | |
Результат | IPersistentVector |
public containsKey ( object key ) : bool | ||
key | object | The key to test for membership |
Результат | bool |
public static doEquals ( IPersistentVector v, object obj ) : bool | ||
v | IPersistentVector | The |
obj | object | The other object to compare. |
Результат | bool |
public abstract empty ( ) : IPersistentCollection | ||
Результат | IPersistentCollection |
public entryAt ( object key ) : IMapEntry | ||
key | object | The key to retrieve |
Результат | IMapEntry |
public abstract pop ( ) : IPersistentStack | ||
Результат | IPersistentStack |
public valAt ( object key ) : object | ||
key | object | The key to look up. |
Результат | 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. |
Результат | object |