Class IntegerRange.Descending
java.lang.Object
org.apache.commons.jexl3.internal.IntegerRange
org.apache.commons.jexl3.internal.IntegerRange.Descending
- All Implemented Interfaces:
Iterable<Integer>
,Collection<Integer>
- Enclosing class:
- IntegerRange
Descending integer range.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.commons.jexl3.internal.IntegerRange
IntegerRange.Ascending, IntegerRange.Descending
-
Field Summary
Fields inherited from class org.apache.commons.jexl3.internal.IntegerRange
max, min
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.commons.jexl3.internal.IntegerRange
add, addAll, clear, contains, containsAll, create, equals, getMax, getMin, hashCode, isEmpty, remove, removeAll, retainAll, size, toArray, toArray
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, spliterator, stream
-
Constructor Details
-
Descending
protected Descending(int from, int to) Constructor.- Parameters:
from
- upper boundaryto
- lower boundary
-
-
Method Details
-
iterator
- Specified by:
iterator
in interfaceCollection<Integer>
- Specified by:
iterator
in interfaceIterable<Integer>
- Specified by:
iterator
in classIntegerRange
-