Method |
Description |
empty( )
|
Returns whether the specified stack object is empty. |
peek( )
|
Returns the object at the top of the specified stack object without removing it from the stack. |
pop( )
|
Removes and returns the object at the top of the specified stack object. |
push( )
|
Pushes the given object onto the top of the specified stack object. |
search( )
|
Returns the offset from the top of the specified stack object where the given object is found. |
Stack( )
|
Returns a new stack object. |