DoubleIterable, LazyDoubleIterable, PrimitiveIterablepublic class CollectShortToDoubleIterable extends AbstractLazyDoubleIterable
| Constructor | Description |
|---|---|
CollectShortToDoubleIterable(ShortIterable iterable,
ShortToDoubleFunction function) |
| Modifier and Type | Method | Description |
|---|---|---|
DoubleIterator |
doubleIterator() |
Returns a primitive iterator that can be used to iterate over the DoubleIterable in an
imperative style.
|
void |
each(DoubleProcedure procedure) |
A synonym for forEach.
|
boolean |
isEmpty() |
Returns true if this iterable has zero items.
|
boolean |
notEmpty() |
The English equivalent of !this.isEmpty()
|
int |
size() |
Returns the number of items in this iterable.
|
allSatisfy, anySatisfy, appendString, appendString, appendString, asLazy, average, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, flatCollect, forEach, injectInto, makeString, makeString, makeString, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, reject, select, sum, tap, toArray, toBag, toList, toSet, toSortedArray, toSortedList, toStringaverageIfEmpty, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, flatCollect, medianIfEmpty, reduce, reduceIfEmpty, reject, select, summaryStatisticspublic CollectShortToDoubleIterable(ShortIterable iterable, ShortToDoubleFunction function)
public void each(DoubleProcedure procedure)
DoubleIterablepublic DoubleIterator doubleIterator()
DoubleIterablepublic int size()
PrimitiveIterablesize in interface PrimitiveIterablesize in class AbstractLazyDoubleIterablepublic boolean isEmpty()
PrimitiveIterableisEmpty in interface PrimitiveIterableisEmpty in class AbstractLazyDoubleIterablepublic boolean notEmpty()
PrimitiveIterablenotEmpty in interface PrimitiveIterablenotEmpty in class AbstractLazyDoubleIterableCopyright © 2004–2019. All rights reserved.