JavaScript is disabled on your browser.
Skip navigation links
Package
Class
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes
C
I
M
P
S
C
CarlStack
<
T
> - Class in
<Unnamed>
An implementation of the Stack ADT.
CarlStack()
- Constructor for class
CarlStack
Default constructor: creates an empty stack.
clear()
- Method in class
CarlStack
clear()
- Method in interface
Stack
Removes all items from the stack.
I
isEmpty()
- Method in class
CarlStack
isEmpty()
- Method in interface
Stack
Returns whether the stack is empty.
M
main(String[])
- Static method in class
CarlStack
P
peek()
- Method in class
CarlStack
peek()
- Method in interface
Stack
Returns the item on top of the stack, without removing it.
pop()
- Method in class
CarlStack
pop()
- Method in interface
Stack
Removes and returns the item from the top of this stack.
push(T)
- Method in class
CarlStack
push(T)
- Method in interface
Stack
Adds an item to the top of this stack.
S
Stack
<
T
> - Interface in
<Unnamed>
An interface for the Stack ADT, adapted from Frank Carrano.
C
I
M
P
S
Skip navigation links
Package
Class
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes