Package org.geotools.graph.structure.opt
Class OptDirectedNode.RelatedIterator
- Object
-
- RelatedIterator
-
- All Implemented Interfaces:
Iterator<Node>
- Enclosing class:
- OptDirectedNode
public class OptDirectedNode.RelatedIterator extends Object implements Iterator<Node>
Iterator used to iterate over related nodes.- Author:
- Justin Deoliveira, Refractions Research Inc, jdeolive@refractions.net
-
-
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 boolean
hasNext()
Determines if there are any more related nodes to return.Node
next()
Returns the next related node.void
remove()
Not supported.
-
-
-
Field Detail
-
IN
public static final int IN
in iteration mode *- See Also:
- Constant Field Values
-
OUT
public static final int OUT
out iteration mode *- See Also:
- Constant Field Values
-
BOTH
public static final int BOTH
both iteration mode *- See Also:
- Constant Field Values
-
-