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
파일 보기 프로젝트 열기: arohner/clojure-contrib

공개 메소드들

메소드 설명
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