DoubleIterable, LazyDoubleIterable, PrimitiveIterablepublic class TapDoubleIterable extends AbstractLazyDoubleIterable
| Modifier and Type | Class | Description |
|---|---|---|
static class |
TapDoubleIterable.TapDoubleIterator |
| Constructor | Description |
|---|---|
TapDoubleIterable(DoubleIterable delegate,
DoubleProcedure procedure) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
allSatisfy(DoublePredicate predicate) |
Returns true if all of the elements in the DoubleIterable return true for the
specified predicate, otherwise returns false.
|
boolean |
anySatisfy(DoublePredicate predicate) |
Returns true if any of the elements in the DoubleIterable return true for the
specified predicate, otherwise returns false.
|
double |
detectIfNone(DoublePredicate predicate,
double ifNone) |
|
DoubleIterator |
doubleIterator() |
Returns a primitive iterator that can be used to iterate over the DoubleIterable in an
imperative style.
|
void |
each(DoubleProcedure procedure) |
A synonym for forEach.
|
boolean |
noneSatisfy(DoublePredicate predicate) |
Returns true if none of the elements in the DoubleIterable 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, reduce, reduceIfEmpty, reject, select, summaryStatisticspublic TapDoubleIterable(DoubleIterable delegate, DoubleProcedure procedure)
public void each(DoubleProcedure procedure)
DoubleIterablepublic boolean anySatisfy(DoublePredicate predicate)
DoubleIterableanySatisfy in interface DoubleIterableanySatisfy in class AbstractLazyDoubleIterablepublic boolean allSatisfy(DoublePredicate predicate)
DoubleIterableallSatisfy in interface DoubleIterableallSatisfy in class AbstractLazyDoubleIterablepublic boolean noneSatisfy(DoublePredicate predicate)
DoubleIterablenoneSatisfy in interface DoubleIterablenoneSatisfy in class AbstractLazyDoubleIterablepublic double detectIfNone(DoublePredicate predicate, double ifNone)
detectIfNone in interface DoubleIterabledetectIfNone in class AbstractLazyDoubleIterablepublic DoubleIterator doubleIterator()
DoubleIterableCopyright © 2004–2019. All rights reserved.