示例#1
0
 internal ConsEnumerator(Cons <T> cons)
 {
     this.cons    = cons;
     this.orig    = cons;
     this.current = default(T);
 }
示例#2
0
 public void Reset()
 {
     this.cons    = this.orig;
     this.current = default(T);
 }
示例#3
0
 Cons()
 {
     this.first = default(T);
     this.rest  = null;
     this.count = 0;
 }