public class IntRangeClosed extends PrimitiveIterator.OfInt
| Constructor and Description |
|---|
IntRangeClosed(int startInclusive,
int endInclusive) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
int |
nextInt() |
next, removepublic boolean hasNext()
public int nextInt()
nextInt in class PrimitiveIterator.OfInt