Class ImmutableStack<T>

  • Type Parameters:
    T -
    All Implemented Interfaces:
    Iterable<T>
    Direct Known Subclasses:
    CallStack

    public class ImmutableStack<T>
    extends Object
    implements Iterable<T>
    An immutable stack of objects. The push(Object) and pop() operations create new stacks.