public class IntegerIterator
extends java.lang.Object
implements java.util.Iterator<java.lang.Integer>
| Constructor and Description |
|---|
IntegerIterator(int startInclusive,
int endInclusive)
Instantiates a new integer iterator.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext()
Checks for next.
|
java.lang.Integer |
next()
Next.
|
void |
remove()
Removes the.
|
public IntegerIterator(int startInclusive,
int endInclusive)
startInclusive - the start inclusiveendInclusive - the end inclusivepublic boolean hasNext()
hasNext in interface java.util.Iterator<java.lang.Integer>public java.lang.Integer next()
next in interface java.util.Iterator<java.lang.Integer>public void remove()
remove in interface java.util.Iterator<java.lang.Integer>Copyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa