org.apache.commons.graph.algorithm.path
Class PathIterator

java.lang.Object
  extended byorg.apache.commons.graph.algorithm.path.PathIterator
All Implemented Interfaces:
java.util.Iterator, PathListener

public class PathIterator
extends java.lang.Object
implements PathListener, java.util.Iterator


Field Summary
private  int highMark
           
private  java.util.List queue
           
private  java.lang.Thread thread
           
 
Constructor Summary
PathIterator()
           
 
Method Summary
 boolean hasNext()
           
 java.lang.Object next()
           
 void notifyPath(Path path)
           
 void remove()
           
 void setThread(java.lang.Thread thread)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

queue

private java.util.List queue

thread

private java.lang.Thread thread

highMark

private int highMark
Constructor Detail

PathIterator

public PathIterator()
Method Detail

setThread

public void setThread(java.lang.Thread thread)

remove

public void remove()
Specified by:
remove in interface java.util.Iterator

notifyPath

public void notifyPath(Path path)
Specified by:
notifyPath in interface PathListener

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator

next

public java.lang.Object next()
Specified by:
next in interface java.util.Iterator