public abstract class OrderedStack<E>
- Object
- OrderedStack
Constructors
public OrderedStack(int argStackSize, int argContainerSize) |
Methods
public final E pop() | |
public final E[] pop(int argNum) | |
public final void push(int argNum) | |
protected abstract E newInstance() | Creates a new instance of the object contained by this stack. |
Inherited methods
Constructor details
OrderedStack
public OrderedStack(int argStackSize, int argContainerSize)Method details
pop
public final E pop()pop
public final E[] pop(int argNum)push
public final void push(int argNum)newInstance
protected abstract E newInstance()Creates a new instance of the object contained by this stack.