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() |
int |
max() |
int |
maxIfEmpty(int defaultValue) |
double |
median() |
int |
min() |
int |
minIfEmpty(int defaultValue) |
boolean |
notEmpty() |
int |
size() |
long |
sum() |
int[] |
toArray() |
MutableIntBag |
toBag() |
MutableIntList |
toList() |
MutableIntSet |
toSet() |
int[] |
toSortedArray() |
allSatisfy, anySatisfy, appendString, appendString, appendString, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, count, detectIfNone, flatCollect, injectInto, makeString, makeString, makeString, noneSatisfy, reject, select, tap, toSortedList, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitaverageIfEmpty, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, containsAny, containsAny, containsNone, containsNone, flatCollect, forEach, injectIntoBoolean, injectIntoByte, injectIntoChar, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, injectIntoShort, medianIfEmpty, reduce, reduceIfEmpty, reject, select, summaryStatistics, toArray, toSortedList, toSortedListBy, toSortedListBypublic ReverseIntIterable(IntList newAdapted)
public static ReverseIntIterable adapt(IntList intList)
public IntIterator intIterator()
public void each(IntProcedure procedure)
public long sum()
sum in interface IntIterablesum in class AbstractLazyIntIterablepublic int max()
max in interface IntIterablemax in class AbstractLazyIntIterablepublic int min()
min in interface IntIterablemin in class AbstractLazyIntIterablepublic int minIfEmpty(int defaultValue)
minIfEmpty in interface IntIterableminIfEmpty in class AbstractLazyIntIterablepublic int maxIfEmpty(int defaultValue)
maxIfEmpty in interface IntIterablemaxIfEmpty in class AbstractLazyIntIterablepublic double average()
average in interface IntIterableaverage in class AbstractLazyIntIterablepublic double median()
median in interface IntIterablemedian in class AbstractLazyIntIterablepublic int[] toSortedArray()
toSortedArray in interface IntIterabletoSortedArray in class AbstractLazyIntIterablepublic int[] toArray()
toArray in interface IntIterabletoArray in class AbstractLazyIntIterablepublic boolean contains(int value)
contains in interface IntIterablecontains in class AbstractLazyIntIterablepublic boolean containsAll(int... source)
containsAll in interface IntIterablecontainsAll in class AbstractLazyIntIterablepublic boolean containsAll(IntIterable source)
containsAll in interface IntIterablecontainsAll in class AbstractLazyIntIterablepublic int size()
size in interface PrimitiveIterablesize in class AbstractLazyIntIterablepublic boolean isEmpty()
isEmpty in interface PrimitiveIterableisEmpty in class AbstractLazyIntIterablepublic boolean notEmpty()
notEmpty in interface PrimitiveIterablenotEmpty in class AbstractLazyIntIterablepublic MutableIntList toList()
toList in interface IntIterabletoList in class AbstractLazyIntIterablepublic MutableIntSet toSet()
toSet in interface IntIterabletoSet in class AbstractLazyIntIterablepublic MutableIntBag toBag()
toBag in interface IntIterabletoBag in class AbstractLazyIntIterablepublic LazyIntIterable asLazy()
asLazy in interface IntIterableasLazy in class AbstractLazyIntIterableCopyright © 2004–2022. All rights reserved.