public class CollectLongToLongIterable extends AbstractLazyLongIterable
| Constructor and Description |
|---|
CollectLongToLongIterable(LongIterable iterable,
LongToLongFunction function) |
| Modifier and Type | Method and Description |
|---|---|
void |
each(LongProcedure procedure)
A synonym for forEach.
|
boolean |
isEmpty()
Returns true if this iterable has zero items.
|
LongIterator |
longIterator()
Returns a primitive iterator that can be used to iterate over the LongIterable in an
imperative style.
|
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, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitcollect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, flatCollect, reject, select, summaryStatisticspublic CollectLongToLongIterable(LongIterable iterable, LongToLongFunction function)
public void each(LongProcedure procedure)
LongIterablepublic LongIterator longIterator()
LongIterablepublic int size()
PrimitiveIterablesize in interface PrimitiveIterablesize in class AbstractLazyLongIterablepublic boolean isEmpty()
PrimitiveIterableisEmpty in interface PrimitiveIterableisEmpty in class AbstractLazyLongIterablepublic boolean notEmpty()
PrimitiveIterablenotEmpty in interface PrimitiveIterablenotEmpty in class AbstractLazyLongIterableCopyright © 2004–2017. All rights reserved.