FloatIterable
, LazyFloatIterable
, PrimitiveIterable
public class TapFloatIterable extends AbstractLazyFloatIterable
Modifier and Type | Class | Description |
---|---|---|
static class |
TapFloatIterable.TapFloatIterator |
Constructor | Description |
---|---|
TapFloatIterable(FloatIterable delegate,
FloatProcedure procedure) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
allSatisfy(FloatPredicate predicate) |
Returns true if all of the elements in the FloatIterable return true for the
specified predicate, otherwise returns false.
|
boolean |
anySatisfy(FloatPredicate predicate) |
Returns true if any of the elements in the FloatIterable return true for the
specified predicate, otherwise returns false.
|
float |
detectIfNone(FloatPredicate predicate,
float ifNone) |
|
void |
each(FloatProcedure procedure) |
A synonym for forEach.
|
FloatIterator |
floatIterator() |
Returns a primitive iterator that can be used to iterate over the FloatIterable in an
imperative style.
|
boolean |
noneSatisfy(FloatPredicate predicate) |
Returns true if none of the elements in the FloatIterable 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, toString
averageIfEmpty, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, flatCollect, medianIfEmpty, reject, select, summaryStatistics
public TapFloatIterable(FloatIterable delegate, FloatProcedure procedure)
public void each(FloatProcedure procedure)
FloatIterable
public boolean anySatisfy(FloatPredicate predicate)
FloatIterable
anySatisfy
in interface FloatIterable
anySatisfy
in class AbstractLazyFloatIterable
public boolean allSatisfy(FloatPredicate predicate)
FloatIterable
allSatisfy
in interface FloatIterable
allSatisfy
in class AbstractLazyFloatIterable
public boolean noneSatisfy(FloatPredicate predicate)
FloatIterable
noneSatisfy
in interface FloatIterable
noneSatisfy
in class AbstractLazyFloatIterable
public float detectIfNone(FloatPredicate predicate, float ifNone)
detectIfNone
in interface FloatIterable
detectIfNone
in class AbstractLazyFloatIterable
public FloatIterator floatIterator()
FloatIterable
Copyright © 2004–2018. All rights reserved.