org.apache.commons.jexl3.internal
Class IntegerRange.Descending

java.lang.Object
  extended by org.apache.commons.jexl3.internal.IntegerRange
      extended by org.apache.commons.jexl3.internal.IntegerRange.Descending
All Implemented Interfaces:
Iterable<Integer>, Collection<Integer>
Enclosing class:
IntegerRange

public static class IntegerRange.Descending
extends 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
protected IntegerRange.Descending(int from, int to)
          Constructor.
 
Method Summary
 Iterator<Integer> iterator()
           
 
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
 

Constructor Detail

IntegerRange.Descending

protected IntegerRange.Descending(int from,
                                  int to)
Constructor.

Parameters:
from - upper boundary
to - lower boundary
Method Detail

iterator

public Iterator<Integer> iterator()
Specified by:
iterator in interface Iterable<Integer>
Specified by:
iterator in interface Collection<Integer>
Specified by:
iterator in class IntegerRange


Copyright © 2001–2017 The Apache Software Foundation. All rights reserved.