Package java.util

Class Stack

extends VectorAbstractListAbstractCollectionObject
implements List, Cloneable, Serializable, Collection

The Stack class represents a last-in-first-out object. It extends the Vector class with five operations that allow a vektor to be threated as a stack. The usual push and pop operations are available, as well as a method to peek at the top item on the stack. Furthermore, a method to test for whether the stack is empty or not, and a method to search the stack for an item and discover how far it is from the top.

Public Constructors

Public Methods

Methods inherited from java.util.Vector

Methods inherited from java.util.AbstractList

Methods inherited from java.util.AbstractCollection

Methods inherited from java.lang.Object

_INSERT_INHERITED_METHOD_ENTRY_HERE_

_INSERT_FIELDS_ENTRY_HERE_