org.neo4j.helpers.collection
Class RangeIterator
java.lang.Object
org.neo4j.helpers.collection.PrefetchingIterator<Integer>
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RangeIterator
public RangeIterator(int end)
RangeIterator
public RangeIterator(int start,
int end)
RangeIterator
public RangeIterator(int start,
int end,
int stride)
fetchNextOrNull
protected Integer fetchNextOrNull()
- Specified by:
fetchNextOrNull
in class PrefetchingIterator<Integer>
Copyright © 2011 The Neo4j Graph Database Project. All Rights Reserved.