C# 클래스 clojure.lang.LazyCons

A cons cell constructed lazily by a call to an IFn.
The 'first' is computed by calling f(). The 'rest' is computed by calling f(null).
상속: clojure.lang.ASeq
파일 보기 프로젝트 열기: arohner/clojure-contrib 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
_f IFn
_first object
_rest ISeq

공개 메소드들

메소드 설명
LazyCons ( IFn f ) : System

Construct a lazy cons on a function.

withMeta ( IPersistentMap meta ) : IObj

Create a copy with new metadata.

비공개 메소드들

메소드 설명
LazyCons ( IPersistentMap meta, object first, ISeq rest ) : System

Construct a lazy cons on a function, with attached metadata.

first ( ) : object
rest ( ) : ISeq

메소드 상세

LazyCons() 공개 메소드

Construct a lazy cons on a function.
public LazyCons ( IFn f ) : System
f IFn The function that will create first/rest.
리턴 System

withMeta() 공개 메소드

Create a copy with new metadata.
public withMeta ( IPersistentMap meta ) : IObj
meta IPersistentMap The new metadata.
리턴 IObj

프로퍼티 상세

_f 보호되어 있는 프로퍼티

The function generating the first and rest.
protected IFn _f
리턴 IFn

_first 보호되어 있는 프로퍼티

The first item of the sequence, when computed.
protected object _first
리턴 object

_rest 보호되어 있는 프로퍼티

The rest of the sequence, when computed.
protected ISeq _rest
리턴 ISeq