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

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

public static class LongRange.Ascending
extends LongRange

Ascending long range.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.commons.jexl3.internal.LongRange
LongRange.Ascending, LongRange.Descending
 
Field Summary
 
Fields inherited from class org.apache.commons.jexl3.internal.LongRange
max, min
 
Constructor Summary
protected LongRange.Ascending(long from, long to)
          Constructor.
 
Method Summary
 Iterator<Long> iterator()
           
 
Methods inherited from class org.apache.commons.jexl3.internal.LongRange
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

LongRange.Ascending

protected LongRange.Ascending(long from,
                              long to)
Constructor.

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

iterator

public Iterator<Long> iterator()
Specified by:
iterator in interface Iterable<Long>
Specified by:
iterator in interface Collection<Long>
Specified by:
iterator in class LongRange


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