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