|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.graph.structure.opt.OptDirectedNode.RelatedIterator
Iterator used to iterate over related nodes.
Field Summary | |
static int |
BOTH
both iteration mode |
static int |
IN
in iteration mode |
static int |
OUT
out iteration mode |
Constructor Summary | |
OptDirectedNode.RelatedIterator(int mode)
Constructs a new iterator. |
Method Summary | |
boolean |
hasNext()
Determines if there are any more related nodes to return. |
java.lang.Object |
next()
Returns the next related node. |
void |
remove()
Not supported. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int IN
public static final int OUT
public static final int BOTH
Constructor Detail |
public OptDirectedNode.RelatedIterator(int mode)
mode
- Iteration mode.Method Detail |
public void remove()
remove
in interface java.util.Iterator
java.lang.UnsupportedOperationException
public boolean hasNext()
hasNext
in interface java.util.Iterator
Iterator.hasNext()
public java.lang.Object next()
next
in interface java.util.Iterator
Iterator.next()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |