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 booleanallSatisfy(FloatPredicate predicate)Returns true if all of the elements in the FloatIterable return true for the specified predicate, otherwise returns false.booleananySatisfy(FloatPredicate predicate)Returns true if any of the elements in the FloatIterable return true for the specified predicate, otherwise returns false.booleancontainsAll(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.booleancontainsAll(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.intcount(FloatPredicate predicate)Returns a count of the number of elements in the FloatIterable that return true for the specified predicate.voideach(FloatProcedure procedure)A synonym for forEach.FloatIteratorfloatIterator()Returns a primitive iterator that can be used to iterate over the FloatIterable in an imperative style.booleanisEmpty()Returns true if this iterable has zero items.booleannoneSatisfy(FloatPredicate predicate)Returns true if none of the elements in the FloatIterable return true for the specified predicate, otherwise returns false.booleannotEmpty()The English equivalent of !this.isEmpty()intsize()Returns the number of items in this iterable.float[]toArray()Converts the FloatIterable to a primitive float array.MutableFloatBagtoBag()Converts the FloatIterable to a new MutableFloatBag.MutableFloatListtoList()Converts the FloatIterable to a new MutableFloatList.MutableFloatSettoSet()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, toStringMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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:FloatIterableReturns a primitive iterator that can be used to iterate over the FloatIterable in an imperative style. -
each
Description copied from interface:FloatIterableA synonym for forEach.- Since:
- 7.0.
-
size
public int size()Description copied from interface:PrimitiveIterableReturns the number of items in this iterable.- Specified by:
sizein interfacePrimitiveIterable- Overrides:
sizein classAbstractLazyFloatIterable
-
isEmpty
public boolean isEmpty()Description copied from interface:PrimitiveIterableReturns true if this iterable has zero items.- Specified by:
isEmptyin interfacePrimitiveIterable- Overrides:
isEmptyin classAbstractLazyFloatIterable
-
notEmpty
public boolean notEmpty()Description copied from interface:PrimitiveIterableThe English equivalent of !this.isEmpty()- Specified by:
notEmptyin interfacePrimitiveIterable- Overrides:
notEmptyin classAbstractLazyFloatIterable
-
count
Description copied from interface:FloatIterableReturns a count of the number of elements in the FloatIterable that return true for the specified predicate.- Specified by:
countin interfaceFloatIterable- Overrides:
countin classAbstractLazyFloatIterable
-
anySatisfy
Description copied from interface:FloatIterableReturns true if any of the elements in the FloatIterable return true for the specified predicate, otherwise returns false.- Specified by:
anySatisfyin interfaceFloatIterable- Overrides:
anySatisfyin classAbstractLazyFloatIterable
-
allSatisfy
Description copied from interface:FloatIterableReturns true if all of the elements in the FloatIterable return true for the specified predicate, otherwise returns false.- Specified by:
allSatisfyin interfaceFloatIterable- Overrides:
allSatisfyin classAbstractLazyFloatIterable
-
noneSatisfy
Description copied from interface:FloatIterableReturns true if none of the elements in the FloatIterable return true for the specified predicate, otherwise returns false.- Specified by:
noneSatisfyin interfaceFloatIterable- Overrides:
noneSatisfyin classAbstractLazyFloatIterable
-
toArray
public float[] toArray()Description copied from interface:FloatIterableConverts the FloatIterable to a primitive float array.- Specified by:
toArrayin interfaceFloatIterable- Overrides:
toArrayin classAbstractLazyFloatIterable
-
containsAll
public boolean containsAll(float... source)Description copied from interface:FloatIterableReturns 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:
containsAllin interfaceFloatIterable- Overrides:
containsAllin classAbstractLazyFloatIterable
-
containsAll
Description copied from interface:FloatIterableReturns 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:
containsAllin interfaceFloatIterable- Overrides:
containsAllin classAbstractLazyFloatIterable
-
toList
Description copied from interface:FloatIterableConverts the FloatIterable to a new MutableFloatList.- Specified by:
toListin interfaceFloatIterable- Overrides:
toListin classAbstractLazyFloatIterable
-
toSet
Description copied from interface:FloatIterableConverts the FloatIterable to a new MutableFloatSet.- Specified by:
toSetin interfaceFloatIterable- Overrides:
toSetin classAbstractLazyFloatIterable
-
toBag
Description copied from interface:FloatIterableConverts the FloatIterable to a new MutableFloatBag.- Specified by:
toBagin interfaceFloatIterable- Overrides:
toBagin classAbstractLazyFloatIterable
-