| Modifier and Type | Class and Description |
|---|---|
static interface |
NodeCacheIterator.NodeFilter |
| Constructor and Description |
|---|
NodeCacheIterator(NodeCache cache,
NodeKey startingNode)
Create a new iterator over the nodes in the supplied node cache that are at or below the supplied starting node.
|
NodeCacheIterator(NodeCache cache,
NodeKey startingNode,
NodeCacheIterator.NodeFilter filter)
Create a new iterator over the nodes in the supplied node cache that are at or below the supplied starting node.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
NodeKey |
next() |
protected void |
nextNode() |
void |
remove() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEachRemainingpublic NodeCacheIterator(NodeCache cache, NodeKey startingNode)
cache - the node cache; may not be nullstartingNode - the starting node and the root of the subgraph; may not be nullpublic NodeCacheIterator(NodeCache cache, NodeKey startingNode, NodeCacheIterator.NodeFilter filter)
cache - the node cache; may not be nullstartingNode - the starting node and the root of the subgraph; may not be nullfilter - the filter that should be used to determine which nodes are exposed by this iterator; may be null if the
iterator should not filterCopyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.