public class ReverseIntIterable extends AbstractLazyIntIterable
ReverseIterable| Constructor and Description |
|---|
ReverseIntIterable(com.gs.collections.api.list.primitive.IntList newAdapted) |
| Modifier and Type | Method and Description |
|---|---|
static ReverseIntIterable |
adapt(com.gs.collections.api.list.primitive.IntList intList) |
com.gs.collections.api.LazyIntIterable |
asLazy() |
double |
average() |
boolean |
contains(int value) |
boolean |
containsAll(int... source) |
boolean |
containsAll(com.gs.collections.api.IntIterable source) |
void |
each(com.gs.collections.api.block.procedure.primitive.IntProcedure procedure) |
com.gs.collections.api.iterator.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() |
com.gs.collections.api.bag.primitive.MutableIntBag |
toBag() |
com.gs.collections.api.list.primitive.MutableIntList |
toList() |
com.gs.collections.api.set.primitive.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, toStringpublic ReverseIntIterable(com.gs.collections.api.list.primitive.IntList newAdapted)
public static ReverseIntIterable adapt(com.gs.collections.api.list.primitive.IntList intList)
public com.gs.collections.api.iterator.IntIterator intIterator()
public void each(com.gs.collections.api.block.procedure.primitive.IntProcedure procedure)
public long sum()
sum in interface com.gs.collections.api.IntIterablesum in class AbstractLazyIntIterablepublic int max()
max in interface com.gs.collections.api.IntIterablemax in class AbstractLazyIntIterablepublic int min()
min in interface com.gs.collections.api.IntIterablemin in class AbstractLazyIntIterablepublic int minIfEmpty(int defaultValue)
minIfEmpty in interface com.gs.collections.api.IntIterableminIfEmpty in class AbstractLazyIntIterablepublic int maxIfEmpty(int defaultValue)
maxIfEmpty in interface com.gs.collections.api.IntIterablemaxIfEmpty in class AbstractLazyIntIterablepublic double average()
average in interface com.gs.collections.api.IntIterableaverage in class AbstractLazyIntIterablepublic double median()
median in interface com.gs.collections.api.IntIterablemedian in class AbstractLazyIntIterablepublic int[] toSortedArray()
toSortedArray in interface com.gs.collections.api.IntIterabletoSortedArray in class AbstractLazyIntIterablepublic int[] toArray()
toArray in interface com.gs.collections.api.IntIterabletoArray in class AbstractLazyIntIterablepublic boolean contains(int value)
contains in interface com.gs.collections.api.IntIterablecontains in class AbstractLazyIntIterablepublic boolean containsAll(int... source)
containsAll in interface com.gs.collections.api.IntIterablecontainsAll in class AbstractLazyIntIterablepublic boolean containsAll(com.gs.collections.api.IntIterable source)
containsAll in interface com.gs.collections.api.IntIterablecontainsAll in class AbstractLazyIntIterablepublic int size()
com.gs.collections.api.PrimitiveIterablesize in interface com.gs.collections.api.PrimitiveIterablesize in class AbstractLazyIntIterablepublic boolean isEmpty()
com.gs.collections.api.PrimitiveIterableisEmpty in interface com.gs.collections.api.PrimitiveIterableisEmpty in class AbstractLazyIntIterablepublic boolean notEmpty()
com.gs.collections.api.PrimitiveIterablenotEmpty in interface com.gs.collections.api.PrimitiveIterablenotEmpty in class AbstractLazyIntIterablepublic com.gs.collections.api.list.primitive.MutableIntList toList()
toList in interface com.gs.collections.api.IntIterabletoList in class AbstractLazyIntIterablepublic com.gs.collections.api.set.primitive.MutableIntSet toSet()
toSet in interface com.gs.collections.api.IntIterabletoSet in class AbstractLazyIntIterablepublic com.gs.collections.api.bag.primitive.MutableIntBag toBag()
toBag in interface com.gs.collections.api.IntIterabletoBag in class AbstractLazyIntIterablepublic com.gs.collections.api.LazyIntIterable asLazy()
asLazy in interface com.gs.collections.api.IntIterableasLazy in class AbstractLazyIntIterable