C# Class clojure.lang.APersistentVector.RSeq

Internal class providing reverse ISeq functionality for APersistentVector.
This class should be private. Public only for DLR debugging output.
Inheritance: clojure.lang.ASeq, IndexedSeq, IReduce, Counted
Exibir arquivo Open project: arohner/clojure-contrib

Public Methods

Method Description
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.

Private Methods

Method Description
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.

Method Details

RSeq() public method

Initialize a reverse sequence over a vector with the first element at a given index.
public RSeq ( IPersistentVector v, int i ) : System
v IPersistentVector The vector to sequence over.
i int The index to start at.
return System

count() public method

Gets the number of items in the collection.
public count ( ) : int
return int

first() public method

Gets the first item.
public first ( ) : object
return object

index() public method

Gets the index associated with this sequence.
public index ( ) : int
return int

reduce() public method

Reduce the collection using a function.
public reduce ( IFn f ) : object
f IFn The function to apply.
return object

reduce() public method

Reduce the collection using a function.
public reduce ( IFn f, object start ) : object
f IFn The function to apply.
start object An initial value to get started.
return object

rest() public method

Gets the rest of the sequence.
public rest ( ) : ISeq
return ISeq

withMeta() public method

Create a copy with new metadata.
public withMeta ( IPersistentMap meta ) : IObj
meta IPersistentMap The new metadata.
return IObj