public static final class NodeIterable.NodeIterableEmpty extends Object implements Iterator<Node>, NodeIterable
NodeIterable.NodeIterableEmpty
ElementIterable.ElementIterableEmpty
EMPTY
Constructor and Description |
---|
NodeIterableEmpty() |
Modifier and Type | Method and Description |
---|---|
void |
doBreak()
Break the iterator and release read lock (if any).
|
boolean |
hasNext() |
Iterator<Node> |
iterator()
Returns a node iterator.
|
Node |
next() |
void |
remove() |
Node[] |
toArray()
Returns the iterator content as an array.
|
Collection<Node> |
toCollection()
Returns the iterator content as a collection.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
forEach, spliterator
public Iterator<Node> iterator()
NodeIterable
iterator
in interface Iterable<Node>
iterator
in interface ElementIterable<Node>
iterator
in interface NodeIterable
public Node[] toArray()
NodeIterable
toArray
in interface ElementIterable<Node>
toArray
in interface NodeIterable
public Collection<Node> toCollection()
NodeIterable
toCollection
in interface ElementIterable<Node>
toCollection
in interface NodeIterable
public void doBreak()
ElementIterable
doBreak
in interface ElementIterable<Node>
Copyright © 2007–2017 Gephi Consortium. All rights reserved.