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.
|
public 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-2014 JBoss, a division of Red Hat. All Rights Reserved.