Java.Util.Stack Members

The members of Java.Util.Stack are listed below.

See Also: Inherited members from Java.Util.Vector

Public Constructors

Constructs a stack with the default size of Vector.

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

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.