Метод | Описание | |
---|---|---|
create ( IStream stream ) : |
Create a sequence from a stream. Requires looking at the first element of the stream. This is so that we know if the stream has any elements. This is so because the sequence must have at least element or be null. |
|
first ( ) : object |
Gets the first item.
|
|
rest ( ) : ISeq |
Gets the rest of the sequence.
|
|
withMeta ( IPersistentMap meta ) : IObj |
Create a copy with new metadata.
|
Метод | Описание | |
---|---|---|
StreamSeq ( IPersistentMap meta, Object first, ISeq rest ) : System |
Construct a
|
|
StreamSeq ( object first, IStream stream ) : System |
Construct a
|
public static create ( IStream stream ) : |
||
stream | IStream | The stream to sequence. |
Результат |
public withMeta ( IPersistentMap meta ) : IObj | ||
meta | IPersistentMap | The new metadata. |
Результат | IObj |