public class OptDirectedEdge.RelatedIterator extends Object implements Iterator
| Modifier and Type | Field and Description |
|---|---|
static int |
BOTH
both mode *
|
static int |
IN
in mode *
|
static int |
OUT
out 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 edges to return.
|
Object |
next()
Returns the next related edge.
|
void |
remove()
Unsupported Operation.
|
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.