public class CollectShortToLongIterable extends AbstractLazyLongIterable
| Constructor and Description |
|---|
CollectShortToLongIterable(com.gs.collections.api.ShortIterable iterable,
com.gs.collections.api.block.function.primitive.ShortToLongFunction function) |
| Modifier and Type | Method and Description |
|---|---|
void |
each(com.gs.collections.api.block.procedure.primitive.LongProcedure procedure) |
boolean |
isEmpty()
Returns true if this iterable has zero items.
|
com.gs.collections.api.iterator.LongIterator |
longIterator() |
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 CollectShortToLongIterable(com.gs.collections.api.ShortIterable iterable,
com.gs.collections.api.block.function.primitive.ShortToLongFunction function)
public void each(com.gs.collections.api.block.procedure.primitive.LongProcedure procedure)
public com.gs.collections.api.iterator.LongIterator longIterator()
public int size()
com.gs.collections.api.PrimitiveIterablesize in interface com.gs.collections.api.PrimitiveIterablesize in class AbstractLazyLongIterablepublic boolean isEmpty()
com.gs.collections.api.PrimitiveIterableisEmpty in interface com.gs.collections.api.PrimitiveIterableisEmpty in class AbstractLazyLongIterablepublic boolean notEmpty()
com.gs.collections.api.PrimitiveIterablenotEmpty in interface com.gs.collections.api.PrimitiveIterablenotEmpty in class AbstractLazyLongIterable