Method | Description | |
---|---|---|
Cons ( IPersistentMap meta, object first, ISeq rest ) : System |
Initializes a
|
|
Cons ( object first, ISeq rest ) : System |
Initializes a
|
|
first ( ) : Object |
Gets the first item.
|
|
rest ( ) : ISeq |
Gets the rest of the sequence.
|
|
seq ( ) : ISeq |
Gets an ISeq to allow first/rest iteration through the collection.
|
|
withMeta ( IPersistentMap meta ) : IObj |
Create a copy with new metadata.
|
public Cons ( IPersistentMap meta, object first, ISeq rest ) : System | ||
meta | IPersistentMap | The metadata to attach. |
first | object | The first value. |
rest | ISeq | The rest of the sequence. |
return | System |
public Cons ( object first, ISeq rest ) : System | ||
first | object | The first value. |
rest | ISeq | The rest of the sequence. |
return | System |
public withMeta ( IPersistentMap meta ) : IObj | ||
meta | IPersistentMap | The new metadata. |
return | IObj |