Java.Util.Stack: Method Members

The methods of Java.Util.Stack are listed below. For a list of all members, see the Stack Members list.

See Also: Inherited members from Java.Util.Vector

Public Methods

Empty() : bool
Returns whether the stack is empty or not.
Peek() : Java.Lang.Object
Returns the element at the top of the stack without removing it.
Pop() : Java.Lang.Object
Returns the element at the top of the stack and removes it.
Push(Java.Lang.Object) : Java.Lang.Object
Documentation for this section has not yet been entered.
Search(Java.Lang.Object) : int
Returns the index of the first occurrence of the object, starting from the top of the stack.