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
This file was automatically generated from template file reversePrimitiveIterable.stg.
- Since:
- 5.0.
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ReverseFloatIterableasLazy()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 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 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.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.toBag()Converts the FloatIterable to a new MutableFloatBag.toList()Converts the FloatIterable to a new MutableFloatList.toSet()Converts the FloatIterable to a new MutableFloatSet.float[]Methods inherited from class AbstractLazyFloatIterable
allSatisfy, anySatisfy, appendString, appendString, appendString, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, count, detectIfNone, flatCollect, injectInto, makeString, makeString, makeString, noneSatisfy, reject, select, tap, toSortedList, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface 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 Details
-
adapted
-
-
Constructor Details
-
ReverseFloatIterable
-
-
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
-
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 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 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
-