public class CollectShortToIntIterable extends AbstractLazyIntIterable
| Constructor and Description |
|---|
CollectShortToIntIterable(com.gs.collections.api.ShortIterable iterable,
com.gs.collections.api.block.function.primitive.ShortToIntFunction function) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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, forEach, injectInto, makeString, makeString, makeString, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, reject, select, sum, toArray, toBag, toList, toSet, toSortedArray, toSortedList, toStringpublic CollectShortToIntIterable(com.gs.collections.api.ShortIterable iterable,
com.gs.collections.api.block.function.primitive.ShortToIntFunction function)
public void each(com.gs.collections.api.block.procedure.primitive.IntProcedure procedure)
public com.gs.collections.api.iterator.IntIterator intIterator()
public 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 AbstractLazyIntIterable