public class Stack
extends java.util.Stack
Constructor and Description |
---|
Stack() |
Modifier and Type | Method and Description |
---|---|
void |
popUntil(int i)
Pop until the stack reach size i
|
int |
pushReturnSize(java.lang.Object o)
Push the object ot the stack and return the size before pushing the object in
|
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, iterator, lastElement, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize
public int pushReturnSize(java.lang.Object o)
o
- the objectpublic void popUntil(int i)
i
- the size