|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.ucla.stat.SOCR.touchgraph.graphlayout.graphelements.TGNodeQueue
public class TGNodeQueue
TGNodeQueue: a very simple queue implementation for doing a breadth first search. Should probably be implemented with linked lists.
Constructor Summary | |
---|---|
TGNodeQueue()
|
Method Summary | |
---|---|
boolean |
contains(Node n)
|
boolean |
isEmpty()
|
Node |
pop()
|
void |
push(Node n)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TGNodeQueue()
Method Detail |
---|
public void push(Node n)
public Node pop()
public boolean isEmpty()
public boolean contains(Node n)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |