예제 #1
0
 ImmutableStack(T head, ImmutableStack <T> tail)
 {
     this.head = head;
     this.tail = tail;
 }
예제 #2
0
 public Enumerator(ImmutableStack <T> stack)
 {
     this.start   = stack;
     this.current = null;
 }