IntIterable, LazyIntIterable, PrimitiveIterablepublic class CollectShortToIntIterable extends AbstractLazyIntIterable
| Constructor | Description |
|---|---|
CollectShortToIntIterable(ShortIterable iterable,
ShortToIntFunction function) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
each(IntProcedure procedure) |
A synonym for forEach.
|
IntIterator |
intIterator() |
Returns a primitive iterator that can be used to iterate over the IntIterable in an
imperative style.
|
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, 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, reject, select, summaryStatisticspublic CollectShortToIntIterable(ShortIterable iterable, ShortToIntFunction function)
public void each(IntProcedure procedure)
IntIterablepublic IntIterator intIterator()
IntIterablepublic int size()
PrimitiveIterablesize in interface PrimitiveIterablesize in class AbstractLazyIntIterablepublic boolean isEmpty()
PrimitiveIterableisEmpty in interface PrimitiveIterableisEmpty in class AbstractLazyIntIterablepublic boolean notEmpty()
PrimitiveIterablenotEmpty in interface PrimitiveIterablenotEmpty in class AbstractLazyIntIterableCopyright © 2004–2017. All rights reserved.