org.modeshape.jcr.cache.document
Class NodeCacheIterator
java.lang.Object
org.modeshape.jcr.cache.document.NodeCacheIterator
- All Implemented Interfaces:
- Iterator<NodeKey>
public final class NodeCacheIterator
- extends Object
- implements Iterator<NodeKey>
An iterator that returns all of the keys for the nodes in the cache that are below the specified starting node.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NodeCacheIterator
public NodeCacheIterator(NodeCache cache,
NodeKey startingNode)
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Iterator<NodeKey>
next
public NodeKey next()
- Specified by:
next
in interface Iterator<NodeKey>
nextNode
protected void nextNode()
remove
public void remove()
- Specified by:
remove
in interface Iterator<NodeKey>
Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.