Serializable
, Cloneable
, Collection
, List
, RandomAccess
public class Stack extends Vector
modCount
capacityIncrement, elementCount, elementData
Constructor | Description |
---|---|
Stack() |
Modifier and Type | Method | Description |
---|---|---|
boolean |
empty() |
|
Object |
peek() |
|
Object |
pop() |
|
Object |
push(Object var0) |
|
int |
search(Object var0) |
add, addAll, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray
add, addAll, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, toArray, toArray
add, addAll, equals, hashCode, indexOf, lastIndexOf, listIterator, listIterator, remove, set, subList
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addElement, capacity, clone, copyInto, elementAt, elements, ensureCapacity, firstElement, get, indexOf, insertElementAt, lastElement, lastIndexOf, removeAllElements, removeElement, removeElementAt, setElementAt, setSize, size, trimToSize