com.graphbuilder.struc.LinkedList Class Reference

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

List of all members.

Classes

class  Node

Public Member Functions

 LinkedList ()
Node getHead ()
Node getTail ()
void addToHead (Object o)
void addToTail (Object o)
Object removeHead ()
Object removeTail ()
int size ()
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 LinkedList.java.


Constructor & Destructor Documentation

com.graphbuilder.struc.LinkedList.LinkedList (  ) 

Definition at line 9 of file LinkedList.java.


Member Function Documentation

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

Definition at line 135 of file LinkedList.java.

References com.graphbuilder.struc.LinkedList.head.

Node com.graphbuilder.struc.LinkedList.getTail (  ) 

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]
void com.graphbuilder.struc.LinkedList.insertBefore ( Node  n,
Object  o 
) [protected]
boolean com.graphbuilder.struc.LinkedList.isEmpty (  ) 
Object com.graphbuilder.struc.LinkedList.removeHead (  ) 
Object com.graphbuilder.struc.LinkedList.removeNode ( Node  n  )  [protected]
Object com.graphbuilder.struc.LinkedList.removeTail (  ) 
String com.graphbuilder.struc.LinkedList.toString (  ) 

Member Data Documentation

Definition at line 7 of file LinkedList.java.

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


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

Generated on 5 May 2015 for HPCVIEWER by  doxygen 1.6.1