C# Class clojure.lang.PersistentArrayMap.Seq

Internal class providing an ISeq for PersistentArrayMaps.
Inheritance: clojure.lang.ASeq, Counted
Afficher le fichier Open project: richhickey/clojure-clr

Méthodes publiques

Méthode Description
Seq ( IPersistentMap meta, object array, int i ) : System

Initialize the sequence with given metatdata and array/index.

Seq ( object array, int i ) : System

Initialize the sequence to a given array and index.

count ( ) : int

Gets the number of items in the collection.

first ( ) : object

Gets the first item.

next ( ) : ISeq

Return a seq of the items after the first. Calls seq on its argument. If there are no more items, returns nil."

withMeta ( IPersistentMap meta ) : IObj

Create a copy with new metadata.

Method Details

Seq() public méthode

Initialize the sequence with given metatdata and array/index.
public Seq ( IPersistentMap meta, object array, int i ) : System
meta IPersistentMap The metadata to attach.
array object The array being sequenced over.
i int The current index.
Résultat System

Seq() public méthode

Initialize the sequence to a given array and index.
public Seq ( object array, int i ) : System
array object The array being sequenced over.
i int The current index.
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

next() public méthode

Return a seq of the items after the first. Calls seq on its argument. If there are no more items, returns nil."
public next ( ) : 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