Neo4j Community

org.neo4j.helpers.collection
Class RangeIterator

java.lang.Object
  extended by org.neo4j.helpers.collection.PrefetchingIterator<Integer>
      extended by org.neo4j.helpers.collection.RangeIterator
All Implemented Interfaces:
Iterator<Integer>

public class RangeIterator
extends PrefetchingIterator<Integer>

Iterates over a range, where the start value is inclusive, but the end value is exclusive.


Constructor Summary
RangeIterator(int end)
           
RangeIterator(int start, int end)
           
RangeIterator(int start, int end, int stride)
           
 
Method Summary
protected  Integer fetchNextOrNull()
           
 
Methods inherited from class org.neo4j.helpers.collection.PrefetchingIterator
getPrefetchedNextOrNull, hasNext, next, remove, setPrefetchedNext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RangeIterator

public RangeIterator(int end)

RangeIterator

public RangeIterator(int start,
                     int end)

RangeIterator

public RangeIterator(int start,
                     int end,
                     int stride)
Method Detail

fetchNextOrNull

protected Integer fetchNextOrNull()
Specified by:
fetchNextOrNull in class PrefetchingIterator<Integer>

Neo4j Community

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