C# Class clojure.lang.PersistentArrayMap.Seq

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

Public Methods

Method 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 method

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.
return System

Seq() public method

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

next() public method

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
return ISeq

withMeta() public method

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