Метод | Описание | |
---|---|---|
RSeq ( IPersistentVector v, int i ) : System |
Initialize a reverse sequence over a vector with the first element at a given index.
|
|
count ( ) : int |
Gets the number of items in the collection.
|
|
first ( ) : object |
Gets the first item.
|
|
index ( ) : int |
Gets the index associated with this sequence.
|
|
reduce ( IFn f ) : object |
Reduce the collection using a function.
|
|
reduce ( IFn f, object start ) : object |
Reduce the collection using a function.
|
|
rest ( ) : ISeq |
Gets the rest of the sequence.
|
|
withMeta ( IPersistentMap meta ) : IObj |
Create a copy with new metadata.
|
Метод | Описание | |
---|---|---|
RSeq ( IPersistentMap meta, IPersistentVector v, int i ) : System |
Initialize a reverse sequence over a vector with the first element at a given index, with the given metadata.
|
public RSeq ( IPersistentVector v, int i ) : System | ||
v | IPersistentVector | The vector to sequence over. |
i | int | The index to start at. |
Результат | System |
public reduce ( IFn f ) : object | ||
f | IFn | The function to apply. |
Результат | object |
public reduce ( IFn f, object start ) : object | ||
f | IFn | The function to apply. |
start | object | An initial value to get started. |
Результат | object |
public withMeta ( IPersistentMap meta ) : IObj | ||
meta | IPersistentMap | The new metadata. |
Результат | IObj |