Class ReverseFloatIterable
java.lang.Object
org.eclipse.collections.impl.lazy.primitive.AbstractLazyFloatIterable
org.eclipse.collections.impl.lazy.primitive.ReverseFloatIterable
- All Implemented Interfaces:
FloatIterable,LazyFloatIterable,PrimitiveIterable
public class ReverseFloatIterable extends AbstractLazyFloatIterable
This file was automatically generated from template file reversePrimitiveIterable.stg.
- Since:
- 5.0.
- See Also:
ReverseIterable
-
Constructor Summary
Constructors Constructor Description ReverseFloatIterable(FloatList newAdapted) -
Method Summary
Modifier and Type Method Description static ReverseFloatIterableadapt(FloatList floatList)LazyFloatIterableasLazy()Returns a LazyFloatIterable adapter wrapping the source FloatIterable.doubleaverage()booleancontains(float value)Returns true if the value is contained in the FloatIterable, and false if it is not.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.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.floatmax()floatmaxIfEmpty(float defaultValue)doublemedian()floatmin()floatminIfEmpty(float defaultValue)booleannotEmpty()The English equivalent of !this.isEmpty()intsize()Returns the number of items in this iterable.doublesum()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.float[]toSortedArray()Methods inherited from class org.eclipse.collections.impl.lazy.primitive.AbstractLazyFloatIterable
allSatisfy, anySatisfy, appendString, appendString, appendString, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, count, detectIfNone, flatCollect, forEach, injectInto, makeString, makeString, makeString, noneSatisfy, reject, select, tap, 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
-
adapt
-
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.
-
sum
public double sum()- Specified by:
sumin interfaceFloatIterable- Overrides:
sumin classAbstractLazyFloatIterable
-
max
public float max()- Specified by:
maxin interfaceFloatIterable- Overrides:
maxin classAbstractLazyFloatIterable
-
min
public float min()- Specified by:
minin interfaceFloatIterable- Overrides:
minin classAbstractLazyFloatIterable
-
minIfEmpty
public float minIfEmpty(float defaultValue)- Specified by:
minIfEmptyin interfaceFloatIterable- Overrides:
minIfEmptyin classAbstractLazyFloatIterable
-
maxIfEmpty
public float maxIfEmpty(float defaultValue)- Specified by:
maxIfEmptyin interfaceFloatIterable- Overrides:
maxIfEmptyin classAbstractLazyFloatIterable
-
average
public double average()- Specified by:
averagein interfaceFloatIterable- Overrides:
averagein classAbstractLazyFloatIterable
-
median
public double median()- Specified by:
medianin interfaceFloatIterable- Overrides:
medianin classAbstractLazyFloatIterable
-
toSortedArray
public float[] toSortedArray()- Specified by:
toSortedArrayin interfaceFloatIterable- Overrides:
toSortedArrayin classAbstractLazyFloatIterable
-
toArray
public float[] toArray()Description copied from interface:FloatIterableConverts the FloatIterable to a primitive float array.- Specified by:
toArrayin interfaceFloatIterable- Overrides:
toArrayin classAbstractLazyFloatIterable
-
contains
public boolean contains(float value)Description copied from interface:FloatIterableReturns true if the value is contained in the FloatIterable, and false if it is not.- Specified by:
containsin interfaceFloatIterable- Overrides:
containsin 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
-
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
-
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
-
asLazy
Description copied from interface:FloatIterableReturns a LazyFloatIterable adapter wrapping the source FloatIterable.- Specified by:
asLazyin interfaceFloatIterable- Overrides:
asLazyin classAbstractLazyFloatIterable
-