public class BoundedIntIterator extends DisposableIntIterator
Constructor and Description |
---|
BoundedIntIterator() |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext()
Returns true if the iteration has more elements.
|
void |
init(int from,
int to)
Initialisation
|
int |
next()
Returns the next element in the iteration.
|
dispose, init, isReusable, remove
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
remove
public void init(int from, int to)
from
- includedto
- includedpublic boolean hasNext()
IntIterator
public int next()
IntIterator
Copyright © 2015. All rights reserved.