|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.graph.structure.opt.OptDirectedEdge.RelatedIterator
Iterator used to iterate over adjacent edges.
Field Summary | |
static int |
BOTH
both mode |
static int |
IN
in mode |
static int |
OUT
out mode |
Constructor Summary | |
OptDirectedEdge.RelatedIterator(int mode)
Constructs a new iterator. |
Method Summary | |
boolean |
hasNext()
Determines if there are any more related edges to return. |
java.lang.Object |
next()
Returns the next related edge. |
void |
remove()
Unsupported Operation. |
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 OptDirectedEdge.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 |