Package java.util
Class Stack
- java.lang.Object
-
- java.util.AbstractCollection
-
- java.util.AbstractList
-
- java.util.Vector
-
- java.util.Stack
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Collection
,List
public class Stack extends Vector
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.Vector
capacityIncrement, elementCount, elementData
-
Fields inherited from class java.util.AbstractList
modCount
-
-
Constructor Summary
Constructors Constructor Description Stack()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
empty()
Object
peek()
Object
pop()
Object
push(Object var0)
int
search(Object var0)
-
Methods inherited from class java.util.Vector
add, add, addAll, addAll, addElement, capacity, clear, clone, 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, trimToSize
-
Methods inherited from class java.util.AbstractList
iterator, listIterator, listIterator
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.List
iterator, listIterator, listIterator
-
-