|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcollections.linkedlist.Stack
public class Stack
Shows how to use a LinkedList as a Stack.
| Constructor Summary | |
|---|---|
Stack()
|
|
| Method Summary | |
|---|---|
static void |
main(java.lang.String[] args)
|
java.lang.Object |
peek()
peek affineTransform an object on the top of the stack |
java.lang.Object |
pop()
pop an object off the top of the stack |
void |
push(java.lang.Object o)
push an object onto the top of the stack |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Stack()
| Method Detail |
|---|
public static void main(java.lang.String[] args)
public void push(java.lang.Object o)
public java.lang.Object pop()
public java.lang.Object peek()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||