Package org.geotools.graph.structure.opt
Class OptDirectedEdge.RelatedIterator
- Object
-
- RelatedIterator
-
- All Implemented Interfaces:
Iterator<Graphable>
- Enclosing class:
- OptDirectedEdge
public class OptDirectedEdge.RelatedIterator extends Object implements Iterator<Graphable>
Iterator used to iterate over adjacent edges.- 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 edges to return.Graphable
next()
Returns the next related edge.void
remove()
Unsupported Operation.
-
-
-
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
-
-