Package org.geotools.graph.structure.opt
Class OptNode.RelatedIterator
- Object
 - 
- RelatedIterator
 
 
- 
- 
Constructor Summary
Constructors Constructor Description RelatedIterator(OptNode node) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasNext()Determines if there are any more related nodes to return.Nodenext()Returns the next related node.voidremove()Not supported.- 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
- 
Methods inherited from interface Iterator
forEachRemaining 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
RelatedIterator
public RelatedIterator(OptNode node)
 
 - 
 
- 
Method Detail
- 
hasNext
public boolean hasNext()
Determines if there are any more related nodes to return.- Specified by:
 hasNextin interfaceIterator<Node>- See Also:
 Iterator.hasNext()
 
- 
next
public Node next()
Returns the next related node.- Specified by:
 nextin interfaceIterator<Node>- See Also:
 Iterator.next()
 
 - 
 
 -