Class TapFloatIterable
- java.lang.Object
-
- org.eclipse.collections.impl.lazy.primitive.AbstractLazyFloatIterable
-
- org.eclipse.collections.impl.lazy.primitive.TapFloatIterable
-
- All Implemented Interfaces:
FloatIterable
,LazyFloatIterable
,PrimitiveIterable
public class TapFloatIterable extends AbstractLazyFloatIterable
This file was automatically generated from template file tapPrimitiveIterable.stg.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TapFloatIterable.TapFloatIterator
-
Field Summary
Fields Modifier and Type Field Description private FloatIterable
adapted
private FloatProcedure
procedure
-
Constructor Summary
Constructors Constructor Description TapFloatIterable(FloatIterable delegate, FloatProcedure procedure)
-
Method Summary
All Methods Instance Methods Concrete Methods 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.-
Methods inherited from class org.eclipse.collections.impl.lazy.primitive.AbstractLazyFloatIterable
appendString, appendString, appendString, asLazy, average, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, flatCollect, injectInto, isEmpty, makeString, makeString, makeString, max, maxIfEmpty, median, min, minIfEmpty, notEmpty, reject, select, size, sum, tap, toArray, toBag, toList, toSet, toSortedArray, toSortedList, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eclipse.collections.api.FloatIterable
averageIfEmpty, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, containsAny, containsAny, containsNone, containsNone, flatCollect, forEach, injectIntoBoolean, injectIntoByte, injectIntoChar, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, injectIntoShort, medianIfEmpty, reduce, reduceIfEmpty, reject, select, summaryStatistics, toArray, toSortedList, toSortedListBy, toSortedListBy
-
-
-
-
Field Detail
-
adapted
private final FloatIterable adapted
-
procedure
private final FloatProcedure procedure
-
-
Constructor Detail
-
TapFloatIterable
public TapFloatIterable(FloatIterable delegate, FloatProcedure procedure)
-
-
Method Detail
-
each
public void each(FloatProcedure procedure)
Description copied from interface:FloatIterable
A synonym for forEach.
-
anySatisfy
public boolean anySatisfy(FloatPredicate predicate)
Description copied from interface:FloatIterable
Returns true if any of the elements in the FloatIterable return true for the specified predicate, otherwise returns false.- Specified by:
anySatisfy
in interfaceFloatIterable
- Overrides:
anySatisfy
in classAbstractLazyFloatIterable
-
allSatisfy
public boolean allSatisfy(FloatPredicate predicate)
Description copied from interface:FloatIterable
Returns true if all of the elements in the FloatIterable return true for the specified predicate, otherwise returns false.- Specified by:
allSatisfy
in interfaceFloatIterable
- Overrides:
allSatisfy
in classAbstractLazyFloatIterable
-
noneSatisfy
public boolean noneSatisfy(FloatPredicate predicate)
Description copied from interface:FloatIterable
Returns true if none of the elements in the FloatIterable return true for the specified predicate, otherwise returns false.- Specified by:
noneSatisfy
in interfaceFloatIterable
- Overrides:
noneSatisfy
in classAbstractLazyFloatIterable
-
detectIfNone
public float detectIfNone(FloatPredicate predicate, float ifNone)
- Specified by:
detectIfNone
in interfaceFloatIterable
- Overrides:
detectIfNone
in classAbstractLazyFloatIterable
-
floatIterator
public FloatIterator floatIterator()
Description copied from interface:FloatIterable
Returns a primitive iterator that can be used to iterate over the FloatIterable in an imperative style.
-
-