ModeShape Distribution 3.0.0.Beta4

org.modeshape.jcr.cache.document
Class NodeCacheIterator

java.lang.Object
  extended by 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.


Constructor Summary
NodeCacheIterator(NodeCache cache, NodeKey startingNode)
           
 
Method Summary
 boolean hasNext()
           
 NodeKey next()
           
protected  void nextNode()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeCacheIterator

public NodeCacheIterator(NodeCache cache,
                         NodeKey startingNode)
Method Detail

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>

ModeShape Distribution 3.0.0.Beta4

Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.