public static class IntegerRange.Descending extends IntegerRange
IntegerRange.Ascending, IntegerRange.Descending
max, min
Modifier | Constructor and Description |
---|---|
protected |
IntegerRange.Descending(int from,
int to)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Iterator<Integer> |
iterator() |
protected IntegerRange.Descending(int from, int to)
from
- upper boundaryto
- lower 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.