org.openjena.atlas.iterator
Class IteratorInteger

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

public class IteratorInteger
extends java.lang.Object
implements java.util.Iterator<java.lang.Long>


Constructor Summary
IteratorInteger(long start, long finish)
          [start, finish)
 
Method Summary
 boolean hasNext()
           
 java.lang.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 java.util.Iterator<java.lang.Long>

next

public java.lang.Long next()
Specified by:
next in interface java.util.Iterator<java.lang.Long>

remove

public void remove()
Specified by:
remove in interface java.util.Iterator<java.lang.Long>


Copyright ? 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP Copyright ? 2010 Talis Systems Ltd. Copyright ? 2010, 2011 Epimorphics Ltd.