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, wait
forEachRemaining
public 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 Iterator
UnsupportedOperationException
public boolean hasNext()
hasNext
in interface Iterator
Iterator.hasNext()
public Object next()
next
in interface Iterator
Iterator.next()
Copyright © 1996–2019 Geotools. All rights reserved.