ImmutableStack(T head, ImmutableStack <T> tail) { this.head = head; this.tail = tail; }
public Enumerator(ImmutableStack <T> stack) { this.start = stack; this.current = null; }