C# Class clojure.lang.PersistentQueue.Seq

Represents an ISeq over a PersistentQueue.
Inheritance: clojure.lang.ASeq
显示文件 Open project: arohner/clojure-contrib

Public Methods

Method Description
count ( ) : int

Gets the number of items in the collection.

first ( ) : object

Gets the first item.

rest ( ) : ISeq

Gets the rest of the sequence.

withMeta ( IPersistentMap meta ) : IObj

Create a copy with new metadata.

Private Methods

Method Description
Seq ( IPersistentMap meta, ISeq f, ISeq rseq ) : System

Initializes a PersistentQueue.Seq from given metadata and front and rear elements.

Seq ( ISeq f, ISeq rseq ) : System

Initializes a PersistentQueue.Seq from given front and rear elements.

Method Details

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

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