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, toArrayMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, spliterator, stream
-
Constructor Details
-
Descending
protected Descending(int from, int to) Constructs a new instance.- Parameters:
from- upper boundaryto- lower boundary
-
-
Method Details
-
iterator
- Specified by:
iteratorin interfaceCollection<Integer>- Specified by:
iteratorin interfaceIterable<Integer>- Specified by:
iteratorin classIntegerRange
-