org.neo4j.kernel.impl.util
Class RelIdArray.RelIdIteratorImpl

java.lang.Object
  extended by org.neo4j.kernel.impl.util.RelIdArray.RelIdIteratorImpl
All Implemented Interfaces:
RelIdIterator
Enclosing class:
RelIdArray

public static class RelIdArray.RelIdIteratorImpl
extends Object
implements RelIdIterator


Method Summary
 void doAnotherRound()
          Tells this iterator to try another round with all its directions starting from each their previous states.
protected  boolean findNextBlock()
           
 RelIdArray getIds()
           
 String getType()
           
 boolean hasNext()
           
 long next()
           
protected  boolean nextBlock()
           
 RelIdIterator updateSource(RelIdArray newSource)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getType

public String getType()
Specified by:
getType in interface RelIdIterator

getIds

public RelIdArray getIds()
Specified by:
getIds in interface RelIdIterator

updateSource

public RelIdIterator updateSource(RelIdArray newSource)
Specified by:
updateSource in interface RelIdIterator

hasNext

public boolean hasNext()
Specified by:
hasNext in interface RelIdIterator

nextBlock

protected boolean nextBlock()

doAnotherRound

public void doAnotherRound()
Description copied from interface: RelIdIterator
Tells this iterator to try another round with all its directions starting from each their previous states. Called from IntArrayIterator, when it finds out it has gotten more relationships of this type.

Specified by:
doAnotherRound in interface RelIdIterator

findNextBlock

protected boolean findNextBlock()

next

public long next()
Specified by:
next in interface RelIdIterator


Copyright © 2002-2012 The Neo4j Graph Database Project. All Rights Reserved.