public class ReverseShortIterable extends AbstractLazyShortIterable
ReverseIterable| Constructor and Description |
|---|
ReverseShortIterable(ShortList newAdapted) |
| Modifier and Type | Method and Description |
|---|---|
static ReverseShortIterable |
adapt(ShortList shortList) |
LazyShortIterable |
asLazy() |
double |
average() |
boolean |
contains(short value) |
boolean |
containsAll(short... source) |
boolean |
containsAll(ShortIterable source) |
void |
each(ShortProcedure procedure) |
boolean |
isEmpty()
Returns true if this iterable has zero items.
|
short |
max() |
short |
maxIfEmpty(short defaultValue) |
double |
median() |
short |
min() |
short |
minIfEmpty(short defaultValue) |
boolean |
notEmpty()
The English equivalent of !this.isEmpty()
|
ShortIterator |
shortIterator() |
int |
size()
Returns the number of items in this iterable.
|
long |
sum() |
short[] |
toArray() |
MutableShortBag |
toBag() |
MutableShortList |
toList() |
MutableShortSet |
toSet() |
short[] |
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 ReverseShortIterable(ShortList newAdapted)
public static ReverseShortIterable adapt(ShortList shortList)
public ShortIterator shortIterator()
public void each(ShortProcedure procedure)
public long sum()
sum in interface ShortIterablesum in class AbstractLazyShortIterablepublic short max()
max in interface ShortIterablemax in class AbstractLazyShortIterablepublic short min()
min in interface ShortIterablemin in class AbstractLazyShortIterablepublic short minIfEmpty(short defaultValue)
minIfEmpty in interface ShortIterableminIfEmpty in class AbstractLazyShortIterablepublic short maxIfEmpty(short defaultValue)
maxIfEmpty in interface ShortIterablemaxIfEmpty in class AbstractLazyShortIterablepublic double average()
average in interface ShortIterableaverage in class AbstractLazyShortIterablepublic double median()
median in interface ShortIterablemedian in class AbstractLazyShortIterablepublic short[] toSortedArray()
toSortedArray in interface ShortIterabletoSortedArray in class AbstractLazyShortIterablepublic short[] toArray()
toArray in interface ShortIterabletoArray in class AbstractLazyShortIterablepublic boolean contains(short value)
contains in interface ShortIterablecontains in class AbstractLazyShortIterablepublic boolean containsAll(short... source)
containsAll in interface ShortIterablecontainsAll in class AbstractLazyShortIterablepublic boolean containsAll(ShortIterable source)
containsAll in interface ShortIterablecontainsAll in class AbstractLazyShortIterablepublic int size()
PrimitiveIterablesize in interface PrimitiveIterablesize in class AbstractLazyShortIterablepublic boolean isEmpty()
PrimitiveIterableisEmpty in interface PrimitiveIterableisEmpty in class AbstractLazyShortIterablepublic boolean notEmpty()
PrimitiveIterablenotEmpty in interface PrimitiveIterablenotEmpty in class AbstractLazyShortIterablepublic MutableShortList toList()
toList in interface ShortIterabletoList in class AbstractLazyShortIterablepublic MutableShortSet toSet()
toSet in interface ShortIterabletoSet in class AbstractLazyShortIterablepublic MutableShortBag toBag()
toBag in interface ShortIterabletoBag in class AbstractLazyShortIterablepublic LazyShortIterable asLazy()
asLazy in interface ShortIterableasLazy in class AbstractLazyShortIterableCopyright © 2004–2016. All rights reserved.