public static final class NodeIterable.NodeIterableEmpty extends Object implements Iterator<Node>, NodeIterable
NodeIterable.NodeIterableEmptyElementIterable.ElementIterableEmptyEMPTY| 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, waitforEachRemainingforEach, spliteratorpublic Iterator<Node> iterator()
NodeIterableiterator in interface Iterable<Node>iterator in interface ElementIterable<Node>iterator in interface NodeIterablepublic Node[] toArray()
NodeIterabletoArray in interface ElementIterable<Node>toArray in interface NodeIterablepublic Collection<Node> toCollection()
NodeIterabletoCollection in interface ElementIterable<Node>toCollection in interface NodeIterablepublic void doBreak()
ElementIterabledoBreak in interface ElementIterable<Node>Copyright © 2013–2015. All rights reserved.