public class CollectDoubleToShortIterable extends AbstractLazyShortIterable
| Constructor and Description |
|---|
CollectDoubleToShortIterable(DoubleIterable iterable,
DoubleToShortFunction function) |
| Modifier and Type | Method and Description |
|---|---|
void |
each(ShortProcedure procedure) |
boolean |
isEmpty()
Returns true if this iterable has zero items.
|
boolean |
notEmpty()
The English equivalent of !this.isEmpty()
|
ShortIterator |
shortIterator() |
int |
size()
Returns the number of items in this iterable.
|
allSatisfy, anySatisfy, appendString, appendString, appendString, asLazy, average, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, forEach, injectInto, makeString, makeString, makeString, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, reject, select, sum, toArray, toBag, toList, toSet, toSortedArray, toSortedList, toStringpublic CollectDoubleToShortIterable(DoubleIterable iterable, DoubleToShortFunction function)
public void each(ShortProcedure procedure)
public ShortIterator shortIterator()
public 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 AbstractLazyShortIterableCopyright © 2004–2016. All rights reserved.