public abstract class MutableStack<E> extends java.lang.Object implements IDynamicStack<E>
| Constructor and Description |
|---|
MutableStack(int argInitSize) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract E |
newInstance()
Creates a new instance of the object contained by this stack.
|
E |
pop()
Pops an item off the stack
|
void |
push(E argObject)
Pushes an item back on the stack
|
public final E pop()
IDynamicStackpop in interface IDynamicStack<E>public final void push(E argObject)
IDynamicStackpush in interface IDynamicStack<E>protected abstract E newInstance()
Copyright © 2017. All Rights Reserved.