public class OptDirectedNode.RelatedIterator extends Object implements Iterator
| Modifier and Type | Field and Description |
|---|---|
static int |
BOTH
both iteration mode *
|
static int |
IN
in iteration mode *
|
static int |
OUT
out iteration mode *
|
| Constructor and Description |
|---|
RelatedIterator(int mode)
Constructs a new iterator.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext()
Determines if there are any more related nodes to return.
|
Object |
next()
Returns the next related node.
|
void |
remove()
Not supported.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic static final int IN
public static final int OUT
public static final int BOTH
public RelatedIterator(int mode)
mode - Iteration mode.public void remove()
remove in interface IteratorUnsupportedOperationExceptionpublic boolean hasNext()
hasNext in interface IteratorIterator.hasNext()public Object next()
next in interface IteratorIterator.next()Copyright © 1996–2019 Geotools. All rights reserved.