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

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

public static class IntegerRange.Ascending
extends IntegerRange

Ascending 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.Ascending(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.Ascending

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

Parameters:
from - lower boundary
to - upper 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.