public class Stack<E> extends Vector<E>
capacityIncrement, elementCount, elementDatamodCount| Constructor and Description |
|---|
Stack() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
empty() |
E |
peek() |
E |
pop() |
E |
push(E object) |
int |
search(Object o) |
add, add, addAll, addAll, addElement, capacity, clear, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSizeiterator, listIterator, listIteratoriterator, listIterator, listIterator, replaceAll, sortremoveIfCopyright © 2026. All rights reserved.