com.graphbuilder.struc
Class Stack

java.lang.Object
  extended bycom.graphbuilder.struc.LinkedList
      extended bycom.graphbuilder.struc.Stack

public class Stack
extends LinkedList


Nested Class Summary
 
Nested classes inherited from class com.graphbuilder.struc.LinkedList
LinkedList.Node
 
Field Summary
 
Fields inherited from class com.graphbuilder.struc.LinkedList
head, size, tail
 
Constructor Summary
Stack()
           
 
Method Summary
 java.lang.Object peek()
           
 java.lang.Object pop()
           
 void push(java.lang.Object o)
           
 
Methods inherited from class com.graphbuilder.struc.LinkedList
addToHead, addToTail, createNode, getHead, getTail, insertAfter, insertBefore, isEmpty, removeHead, removeNode, removeTail, size, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Stack

public Stack()
Method Detail

peek

public java.lang.Object peek()

pop

public java.lang.Object pop()

push

public void push(java.lang.Object o)