Class SelectFloatIterable
java.lang.Object
org.eclipse.collections.impl.lazy.primitive.AbstractLazyFloatIterable
org.eclipse.collections.impl.lazy.primitive.SelectFloatIterable
- All Implemented Interfaces:
FloatIterable
,LazyFloatIterable
,PrimitiveIterable
public class SelectFloatIterable extends AbstractLazyFloatIterable
This file was automatically generated from template file selectPrimitiveIterable.stg.
-
Constructor Summary
Constructors Constructor Description SelectFloatIterable(FloatIterable delegate, FloatPredicate predicate)
-
Method Summary
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.boolean
containsAll(float... source)
Returns true if the all of the values specified in the source array are contained in the FloatIterable, and false if they are not.boolean
containsAll(FloatIterable source)
Returns true if the all of the values specified in the source FloatIterable are contained in the FloatIterable, and false if they are not.int
count(FloatPredicate predicate)
Returns a count of the number of elements in the FloatIterable that return true for the specified predicate.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
isEmpty()
Returns true if this iterable has zero items.boolean
noneSatisfy(FloatPredicate predicate)
Returns true if none of the elements in the FloatIterable return true for the specified predicate, otherwise returns false.boolean
notEmpty()
The English equivalent of !this.isEmpty()int
size()
Returns the number of items in this iterable.float[]
toArray()
Converts the FloatIterable to a primitive float array.MutableFloatBag
toBag()
Converts the FloatIterable to a new MutableFloatBag.MutableFloatList
toList()
Converts the FloatIterable to a new MutableFloatList.MutableFloatSet
toSet()
Converts the FloatIterable to a new MutableFloatSet.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, detectIfNone, flatCollect, forEach, injectInto, makeString, makeString, makeString, max, maxIfEmpty, median, min, minIfEmpty, reject, select, sum, tap, toSortedArray, toSortedList, toString
Methods inherited from class java.lang.Object
equals, 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, flatCollect, medianIfEmpty, reduce, reduceIfEmpty, reject, select, summaryStatistics, toArray
-
Constructor Details
-
Method Details
-
floatIterator
Description copied from interface:FloatIterable
Returns a primitive iterator that can be used to iterate over the FloatIterable in an imperative style. -
each
Description copied from interface:FloatIterable
A synonym for forEach.- Since:
- 7.0.
-
size
public int size()Description copied from interface:PrimitiveIterable
Returns the number of items in this iterable.- Specified by:
size
in interfacePrimitiveIterable
- Overrides:
size
in classAbstractLazyFloatIterable
-
isEmpty
public boolean isEmpty()Description copied from interface:PrimitiveIterable
Returns true if this iterable has zero items.- Specified by:
isEmpty
in interfacePrimitiveIterable
- Overrides:
isEmpty
in classAbstractLazyFloatIterable
-
notEmpty
public boolean notEmpty()Description copied from interface:PrimitiveIterable
The English equivalent of !this.isEmpty()- Specified by:
notEmpty
in interfacePrimitiveIterable
- Overrides:
notEmpty
in classAbstractLazyFloatIterable
-
count
Description copied from interface:FloatIterable
Returns a count of the number of elements in the FloatIterable that return true for the specified predicate.- Specified by:
count
in interfaceFloatIterable
- Overrides:
count
in classAbstractLazyFloatIterable
-
anySatisfy
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
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
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
-
toArray
public float[] toArray()Description copied from interface:FloatIterable
Converts the FloatIterable to a primitive float array.- Specified by:
toArray
in interfaceFloatIterable
- Overrides:
toArray
in classAbstractLazyFloatIterable
-
containsAll
public boolean containsAll(float... source)Description copied from interface:FloatIterable
Returns true if the all of the values specified in the source array are contained in the FloatIterable, and false if they are not.- Specified by:
containsAll
in interfaceFloatIterable
- Overrides:
containsAll
in classAbstractLazyFloatIterable
-
containsAll
Description copied from interface:FloatIterable
Returns true if the all of the values specified in the source FloatIterable are contained in the FloatIterable, and false if they are not.- Specified by:
containsAll
in interfaceFloatIterable
- Overrides:
containsAll
in classAbstractLazyFloatIterable
-
toList
Description copied from interface:FloatIterable
Converts the FloatIterable to a new MutableFloatList.- Specified by:
toList
in interfaceFloatIterable
- Overrides:
toList
in classAbstractLazyFloatIterable
-
toSet
Description copied from interface:FloatIterable
Converts the FloatIterable to a new MutableFloatSet.- Specified by:
toSet
in interfaceFloatIterable
- Overrides:
toSet
in classAbstractLazyFloatIterable
-
toBag
Description copied from interface:FloatIterable
Converts the FloatIterable to a new MutableFloatBag.- Specified by:
toBag
in interfaceFloatIterable
- Overrides:
toBag
in classAbstractLazyFloatIterable
-