public class ReverseIntIterable extends AbstractLazyIntIterable
ReverseIterable
Constructor and Description |
---|
ReverseIntIterable(IntList newAdapted) |
Modifier and Type | Method and Description |
---|---|
static ReverseIntIterable |
adapt(IntList intList) |
LazyIntIterable |
asLazy() |
double |
average() |
boolean |
contains(int value) |
boolean |
containsAll(int... source) |
boolean |
containsAll(IntIterable source) |
void |
each(IntProcedure procedure) |
IntIterator |
intIterator() |
boolean |
isEmpty()
Returns true if this iterable has zero items.
|
int |
max() |
int |
maxIfEmpty(int defaultValue) |
double |
median() |
int |
min() |
int |
minIfEmpty(int defaultValue) |
boolean |
notEmpty()
The English equivalent of !this.isEmpty()
|
int |
size()
Returns the number of items in this iterable.
|
long |
sum() |
int[] |
toArray() |
MutableIntBag |
toBag() |
MutableIntList |
toList() |
MutableIntSet |
toSet() |
int[] |
toSortedArray() |
allSatisfy, anySatisfy, appendString, appendString, appendString, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, count, detectIfNone, forEach, injectInto, makeString, makeString, makeString, noneSatisfy, reject, select, toSortedList, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
summaryStatistics
public ReverseIntIterable(IntList newAdapted)
public static ReverseIntIterable adapt(IntList intList)
public IntIterator intIterator()
public void each(IntProcedure procedure)
public long sum()
sum
in interface IntIterable
sum
in class AbstractLazyIntIterable
public int max()
max
in interface IntIterable
max
in class AbstractLazyIntIterable
public int min()
min
in interface IntIterable
min
in class AbstractLazyIntIterable
public int minIfEmpty(int defaultValue)
minIfEmpty
in interface IntIterable
minIfEmpty
in class AbstractLazyIntIterable
public int maxIfEmpty(int defaultValue)
maxIfEmpty
in interface IntIterable
maxIfEmpty
in class AbstractLazyIntIterable
public double average()
average
in interface IntIterable
average
in class AbstractLazyIntIterable
public double median()
median
in interface IntIterable
median
in class AbstractLazyIntIterable
public int[] toSortedArray()
toSortedArray
in interface IntIterable
toSortedArray
in class AbstractLazyIntIterable
public int[] toArray()
toArray
in interface IntIterable
toArray
in class AbstractLazyIntIterable
public boolean contains(int value)
contains
in interface IntIterable
contains
in class AbstractLazyIntIterable
public boolean containsAll(int... source)
containsAll
in interface IntIterable
containsAll
in class AbstractLazyIntIterable
public boolean containsAll(IntIterable source)
containsAll
in interface IntIterable
containsAll
in class AbstractLazyIntIterable
public int size()
PrimitiveIterable
size
in interface PrimitiveIterable
size
in class AbstractLazyIntIterable
public boolean isEmpty()
PrimitiveIterable
isEmpty
in interface PrimitiveIterable
isEmpty
in class AbstractLazyIntIterable
public boolean notEmpty()
PrimitiveIterable
notEmpty
in interface PrimitiveIterable
notEmpty
in class AbstractLazyIntIterable
public MutableIntList toList()
toList
in interface IntIterable
toList
in class AbstractLazyIntIterable
public MutableIntSet toSet()
toSet
in interface IntIterable
toSet
in class AbstractLazyIntIterable
public MutableIntBag toBag()
toBag
in interface IntIterable
toBag
in class AbstractLazyIntIterable
public LazyIntIterable asLazy()
asLazy
in interface IntIterable
asLazy
in class AbstractLazyIntIterable
Copyright © 2004–2016. All rights reserved.