LazyLongIterable, LongIterable, PrimitiveIterablepublic class TapLongIterable extends AbstractLazyLongIterable
| Modifier and Type | Class | Description |
|---|---|---|
static class |
TapLongIterable.TapLongIterator |
| Constructor | Description |
|---|---|
TapLongIterable(LongIterable delegate,
LongProcedure procedure) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
allSatisfy(LongPredicate predicate) |
Returns true if all of the elements in the LongIterable return true for the
specified predicate, otherwise returns false.
|
boolean |
anySatisfy(LongPredicate predicate) |
Returns true if any of the elements in the LongIterable return true for the
specified predicate, otherwise returns false.
|
long |
detectIfNone(LongPredicate predicate,
long ifNone) |
|
void |
each(LongProcedure procedure) |
A synonym for forEach.
|
LongIterator |
longIterator() |
Returns a primitive iterator that can be used to iterate over the LongIterable in an
imperative style.
|
boolean |
noneSatisfy(LongPredicate predicate) |
Returns true if none of the elements in the LongIterable return true for the
specified predicate, otherwise returns false.
|
appendString, appendString, appendString, asLazy, average, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, flatCollect, forEach, injectInto, isEmpty, makeString, makeString, makeString, max, maxIfEmpty, median, min, minIfEmpty, notEmpty, reject, select, size, sum, tap, toArray, toBag, toList, toSet, toSortedArray, toSortedList, toStringaverageIfEmpty, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, flatCollect, medianIfEmpty, reject, select, summaryStatisticspublic TapLongIterable(LongIterable delegate, LongProcedure procedure)
public void each(LongProcedure procedure)
LongIterablepublic boolean anySatisfy(LongPredicate predicate)
LongIterableanySatisfy in interface LongIterableanySatisfy in class AbstractLazyLongIterablepublic boolean allSatisfy(LongPredicate predicate)
LongIterableallSatisfy in interface LongIterableallSatisfy in class AbstractLazyLongIterablepublic boolean noneSatisfy(LongPredicate predicate)
LongIterablenoneSatisfy in interface LongIterablenoneSatisfy in class AbstractLazyLongIterablepublic long detectIfNone(LongPredicate predicate, long ifNone)
detectIfNone in interface LongIterabledetectIfNone in class AbstractLazyLongIterablepublic LongIterator longIterator()
LongIterableCopyright © 2004–2018. All rights reserved.