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.
- Version:
- 1.21 $Id: TGNodeQueue.java,v 3.0 2004/07/24 13:21:18 altheim Exp $
- Author:
- Alexander Shapiro
| 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)
The Ceryle Project. Copyright ©2001-2007 Murray Altheim, All Rights Reserved. See LICENSE included with distribution.