C# Class clojure.lang.APersistentVector.Seq

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

Méthodes publiques

Méthode Description
Seq ( IPersistentVector v, int i ) : System

Initialize a 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

Méthode Description
Seq ( IPersistentMap meta, IPersistentVector v, int i ) : System

Initialize a sequence over a vector with the first element at a given index, with the given metadata.

Method Details

Seq() public méthode

Initialize a sequence over a vector with the first element at a given index.
public Seq ( IPersistentVector v, int i ) : System
v IPersistentVector The vector to sequence over.
i int The index to start at.
Résultat System

count() public méthode

Gets the number of items in the collection.
public count ( ) : int
Résultat int

first() public méthode

Gets the first item.
public first ( ) : object
Résultat object

index() public méthode

Gets the index associated with this sequence.
public index ( ) : int
Résultat int

reduce() public méthode

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

reduce() public méthode

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.
Résultat object

rest() public méthode

Gets the rest of the sequence.
public rest ( ) : ISeq
Résultat ISeq

withMeta() public méthode

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