prefuse.util.collections
Class Queue
java.lang.Object
prefuse.util.collections.Queue
public class Queue
- extends java.lang.Object
Maintains a breadth-first-search queue as well as depth labels.
- Author:
- jeffrey heer
Constructor Summary |
Queue()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Queue
public Queue()
clear
public void clear()
isEmpty
public boolean isEmpty()
add
public void add(java.lang.Object o,
int depth)
getDepth
public int getDepth(java.lang.Object o)
visit
public void visit(java.lang.Object o,
int depth)
removeFirst
public java.lang.Object removeFirst()
removeLast
public java.lang.Object removeLast()
Copyright © 2007 Regents of the University of California