com.graphbuilder.struc.Stack Class Reference

Inheritance diagram for com.graphbuilder.struc.Stack:
Inheritance graph
[legend]
Collaboration diagram for com.graphbuilder.struc.Stack:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Stack ()
Object peek ()
Object pop ()
void push (Object o)
int size ()
Node getHead ()
Node getTail ()
void addToHead (Object o)
void addToTail (Object o)
Object removeHead ()
Object removeTail ()
boolean isEmpty ()
String toString ()

Protected Member Functions

Node createNode (Object o)
void insertBefore (Node n, Object o)
void insertAfter (Node n, Object o)
Object removeNode (Node n)

Protected Attributes

Node head = null
Node tail = null
int size = 0

Detailed Description

Definition at line 3 of file Stack.java.


Constructor & Destructor Documentation

com.graphbuilder.struc.Stack.Stack (  ) 

Definition at line 5 of file Stack.java.


Member Function Documentation

void com.graphbuilder.struc.LinkedList.addToHead ( Object  o  )  [inherited]
void com.graphbuilder.struc.LinkedList.addToTail ( Object  o  )  [inherited]
Node com.graphbuilder.struc.LinkedList.createNode ( Object  o  )  [protected, inherited]
Node com.graphbuilder.struc.LinkedList.getHead (  )  [inherited]

Definition at line 135 of file LinkedList.java.

References com.graphbuilder.struc.LinkedList.head.

Node com.graphbuilder.struc.LinkedList.getTail (  )  [inherited]

Definition at line 139 of file LinkedList.java.

References com.graphbuilder.struc.LinkedList.tail.

void com.graphbuilder.struc.LinkedList.insertAfter ( Node  n,
Object  o 
) [protected, inherited]
void com.graphbuilder.struc.LinkedList.insertBefore ( Node  n,
Object  o 
) [protected, inherited]
boolean com.graphbuilder.struc.LinkedList.isEmpty (  )  [inherited]
Object com.graphbuilder.struc.Stack.peek (  ) 
Object com.graphbuilder.struc.Stack.pop (  ) 
void com.graphbuilder.struc.Stack.push ( Object  o  ) 
Object com.graphbuilder.struc.LinkedList.removeHead (  )  [inherited]
Object com.graphbuilder.struc.LinkedList.removeNode ( Node  n  )  [protected, inherited]
Object com.graphbuilder.struc.LinkedList.removeTail (  )  [inherited]
int com.graphbuilder.struc.LinkedList.size (  )  [inherited]
String com.graphbuilder.struc.LinkedList.toString (  )  [inherited]

Member Data Documentation

Node com.graphbuilder.struc.LinkedList.head = null [protected, inherited]
int com.graphbuilder.struc.LinkedList.size = 0 [protected, inherited]

Definition at line 7 of file LinkedList.java.

Referenced by com.graphbuilder.math.ExpressionTree.build().

Node com.graphbuilder.struc.LinkedList.tail = null [protected, inherited]

The documentation for this class was generated from the following file:

Generated on 5 May 2015 for HPCVIEWER by  doxygen 1.6.1