
E - element type.public class Stack<E> extends Vector<E>
modCount| Constructor and Description |
|---|
Stack() |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
boolean |
empty() |
E |
peek() |
E |
pop() |
E |
push(E o) |
int |
search(Object o) |
add, add, addAll, addAll, addElement, capacity, clear, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, firstElement, get, indexOf, indexOf, insertElementAt, isEmpty, iterator, lastElement, lastIndexOf, lastIndexOf, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSizecheckIndex, equals, hashCode, indexOutOfBounds, listIterator, listIteratorremove, retainAllequals, hashCode, listIterator, listIterator, remove, retainAllCopyright © 2018. All rights reserved.