Constructors
Name | Description |
---|---|
Stack() |
Methods
Name | Description |
---|---|
empty() | Tests if this stack is empty. |
peek() | Looks at the object at the top of this stack without removing it from the stack. |
pop() | Removes the object at the top of this stack and returns that object as the value of this function. |
push(Object) | Pushes an item onto the top of this stack. |
search(Object) | Returns where an object is on this stack. |