Package org.geotools.graph.structure.opt
Class OptDirectedEdge.RelatedIterator
- Object
-
- RelatedIterator
-
-
Constructor Summary
Constructors Constructor Description RelatedIterator(int mode)Constructs a new iterator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasNext()Determines if there are any more related edges to return.Graphablenext()Returns the next related edge.voidremove()Unsupported Operation.-
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface Iterator
forEachRemaining
-
-
-
-
Field Detail
-
IN
public static final int IN
in mode *- See Also:
- Constant Field Values
-
OUT
public static final int OUT
out mode *- See Also:
- Constant Field Values
-
BOTH
public static final int BOTH
both mode *- See Also:
- Constant Field Values
-
-
Method Detail
-
remove
public void remove()
Unsupported Operation.
-
hasNext
public boolean hasNext()
Determines if there are any more related edges to return.- Specified by:
hasNextin interfaceIterator<Graphable>- See Also:
Iterator.hasNext()
-
next
public Graphable next()
Returns the next related edge.- Specified by:
nextin interfaceIterator<Graphable>- See Also:
Iterator.next()
-
-