org.openjena.atlas.iterator
Class IteratorInteger

java.lang.Object
  extended by org.openjena.atlas.iterator.IteratorInteger
All Implemented Interfaces:
Iterator<Long>

public class IteratorInteger
extends Object
implements Iterator<Long>


Constructor Summary
IteratorInteger(long start, long finish)
          [start, finish)
 
Method Summary
 boolean hasNext()
           
 Long next()
           
static IteratorInteger range(long start, long finish)
           
 void remove()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IteratorInteger

public IteratorInteger(long start,
                       long finish)
[start, finish)

Method Detail

range

public static IteratorInteger range(long start,
                                    long finish)

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator<Long>

next

public Long next()
Specified by:
next in interface Iterator<Long>

remove

public void remove()
Specified by:
remove in interface Iterator<Long>


Licenced under the Apache License, Version 2.0