public static class IntegerRange.Ascending extends IntegerRange
IntegerRange.Ascending, IntegerRange.Descending
max, min
Modifier | Constructor and Description |
---|---|
protected |
IntegerRange.Ascending(int from,
int to)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Iterator<Integer> |
iterator() |
protected IntegerRange.Ascending(int from, int to)
from
- lower boundaryto
- upper boundarypublic Iterator<Integer> iterator()
iterator
in interface Iterable<Integer>
iterator
in interface Collection<Integer>
iterator
in class IntegerRange
Copyright © 2001–2015 The Apache Software Foundation. All rights reserved.