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

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

public static class LongRange.Descending
extends LongRange

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

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

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