com.touchgraph.graphlayout.graphelements
Class TGNodeQueue
java.lang.Object
com.touchgraph.graphlayout.graphelements.TGNodeQueue
public class TGNodeQueue
- extends Object
TGNodeQueue: a very simple queue implementation for doing a breadth
first search. Should probably be implemented with linked lists.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TGNodeQueue
public TGNodeQueue()
push
public void push(Node n)
pop
public Node pop()
isEmpty
public boolean isEmpty()
contains
public boolean contains(Node n)