public class CollectByteToShortIterable extends AbstractLazyShortIterable
| Constructor and Description |
|---|
CollectByteToShortIterable(com.gs.collections.api.ByteIterable iterable,
com.gs.collections.api.block.function.primitive.ByteToShortFunction function) |
| Modifier and Type | Method and Description |
|---|---|
void |
each(com.gs.collections.api.block.procedure.primitive.ShortProcedure procedure) |
boolean |
isEmpty()
Returns true if this iterable has zero items.
|
boolean |
notEmpty()
The English equivalent of !this.isEmpty()
|
com.gs.collections.api.iterator.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 CollectByteToShortIterable(com.gs.collections.api.ByteIterable iterable,
com.gs.collections.api.block.function.primitive.ByteToShortFunction function)
public void each(com.gs.collections.api.block.procedure.primitive.ShortProcedure procedure)
public com.gs.collections.api.iterator.ShortIterator shortIterator()
public int size()
com.gs.collections.api.PrimitiveIterablesize in interface com.gs.collections.api.PrimitiveIterablesize in class AbstractLazyShortIterablepublic boolean isEmpty()
com.gs.collections.api.PrimitiveIterableisEmpty in interface com.gs.collections.api.PrimitiveIterableisEmpty in class AbstractLazyShortIterablepublic boolean notEmpty()
com.gs.collections.api.PrimitiveIterablenotEmpty in interface com.gs.collections.api.PrimitiveIterablenotEmpty in class AbstractLazyShortIterable