DoubleIterable
, LazyDoubleIterable
, PrimitiveIterable
public 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, 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, toString
averageIfEmpty, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, flatCollect, medianIfEmpty, reject, select, summaryStatistics
public TapDoubleIterable(DoubleIterable delegate, DoubleProcedure procedure)
public void each(DoubleProcedure procedure)
DoubleIterable
public boolean anySatisfy(DoublePredicate predicate)
DoubleIterable
anySatisfy
in interface DoubleIterable
anySatisfy
in class AbstractLazyDoubleIterable
public boolean allSatisfy(DoublePredicate predicate)
DoubleIterable
allSatisfy
in interface DoubleIterable
allSatisfy
in class AbstractLazyDoubleIterable
public boolean noneSatisfy(DoublePredicate predicate)
DoubleIterable
noneSatisfy
in interface DoubleIterable
noneSatisfy
in class AbstractLazyDoubleIterable
public double detectIfNone(DoublePredicate predicate, double ifNone)
detectIfNone
in interface DoubleIterable
detectIfNone
in class AbstractLazyDoubleIterable
public DoubleIterator doubleIterator()
DoubleIterable
Copyright © 2004–2017. All rights reserved.