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, forEach, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, iterator, lastElement, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeIf, removeRange, replaceAll, retainAll, set, setElementAt, setSize, size, sort, spliterator, subList, toArray, toArray, toString, trimToSizepublic int pushReturnSize(java.lang.Object o)
o - the objectpublic void popUntil(int i)
i - the size