C# Класс clojure.lang.CachedSeq

Represents a sequence with cached values.
Built on top of another sequence that might be infinite or otherwise lazy. Caches the first/rest values if they are computed.
Наследование: clojure.lang.ASeq
Показать файл Открыть проект

Открытые методы

Метод Описание
CachedSeq ( object s ) : System

Initialize from an arbitray object (must be seq-able).

rest ( ) : ISeq

Gets the rest of the sequence.

withMeta ( IPersistentMap m ) : IObj

Create a copy with new metadata.

Приватные методы

Метод Описание
CachedSeq ( IPersistentMap meta, object first, ISeq rest ) : System

Initialize from first/rest, with metadata.

first ( ) : object

Описание методов

CachedSeq() публичный Метод

Initialize from an arbitray object (must be seq-able).
public CachedSeq ( object s ) : System
s object The object to cache.
Результат System

rest() публичный Метод

Gets the rest of the sequence.
public rest ( ) : ISeq
Результат ISeq

withMeta() публичный Метод

Create a copy with new metadata.
public withMeta ( IPersistentMap m ) : IObj
m IPersistentMap
Результат IObj