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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ReverseFloatIterable
adapt(FloatList floatList)
LazyFloatIterable
asLazy()
double
average()
boolean
contains(float value)
boolean
containsAll(float... source)
boolean
containsAll(FloatIterable source)
void
each(FloatProcedure procedure)
FloatIterator
floatIterator()
boolean
isEmpty()
float
max()
float
maxIfEmpty(float defaultValue)
double
median()
float
min()
float
minIfEmpty(float defaultValue)
boolean
notEmpty()
int
size()
double
sum()
float[]
toArray()
MutableFloatBag
toBag()
MutableFloatList
toList()
MutableFloatSet
toSet()
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, injectInto, makeString, makeString, makeString, noneSatisfy, reject, select, tap, 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, containsAny, containsAny, containsNone, containsNone, flatCollect, forEach, injectIntoBoolean, injectIntoByte, injectIntoChar, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, injectIntoShort, medianIfEmpty, reduce, reduceIfEmpty, reject, select, summaryStatistics, toArray, toSortedList, toSortedListBy, toSortedListBy
-
-
-
-
Constructor Detail
-
ReverseFloatIterable
public ReverseFloatIterable(FloatList newAdapted)
-
-
Method Detail
-
adapt
public static ReverseFloatIterable adapt(FloatList floatList)
-
floatIterator
public FloatIterator floatIterator()
-
each
public void each(FloatProcedure procedure)
- Since:
- 7.0.
-
sum
public double sum()
- Specified by:
sum
in interfaceFloatIterable
- Overrides:
sum
in classAbstractLazyFloatIterable
-
max
public float max()
- Specified by:
max
in interfaceFloatIterable
- Overrides:
max
in classAbstractLazyFloatIterable
-
min
public float min()
- Specified by:
min
in interfaceFloatIterable
- Overrides:
min
in classAbstractLazyFloatIterable
-
minIfEmpty
public float minIfEmpty(float defaultValue)
- Specified by:
minIfEmpty
in interfaceFloatIterable
- Overrides:
minIfEmpty
in classAbstractLazyFloatIterable
-
maxIfEmpty
public float maxIfEmpty(float defaultValue)
- Specified by:
maxIfEmpty
in interfaceFloatIterable
- Overrides:
maxIfEmpty
in classAbstractLazyFloatIterable
-
average
public double average()
- Specified by:
average
in interfaceFloatIterable
- Overrides:
average
in classAbstractLazyFloatIterable
-
median
public double median()
- Specified by:
median
in interfaceFloatIterable
- Overrides:
median
in classAbstractLazyFloatIterable
-
toSortedArray
public float[] toSortedArray()
- Specified by:
toSortedArray
in interfaceFloatIterable
- Overrides:
toSortedArray
in classAbstractLazyFloatIterable
-
toArray
public float[] toArray()
- Specified by:
toArray
in interfaceFloatIterable
- Overrides:
toArray
in classAbstractLazyFloatIterable
-
contains
public boolean contains(float value)
- Specified by:
contains
in interfaceFloatIterable
- Overrides:
contains
in classAbstractLazyFloatIterable
-
containsAll
public boolean containsAll(float... source)
- Specified by:
containsAll
in interfaceFloatIterable
- Overrides:
containsAll
in classAbstractLazyFloatIterable
-
containsAll
public boolean containsAll(FloatIterable source)
- Specified by:
containsAll
in interfaceFloatIterable
- Overrides:
containsAll
in classAbstractLazyFloatIterable
-
size
public int size()
- Specified by:
size
in interfacePrimitiveIterable
- Overrides:
size
in classAbstractLazyFloatIterable
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interfacePrimitiveIterable
- Overrides:
isEmpty
in classAbstractLazyFloatIterable
-
notEmpty
public boolean notEmpty()
- Specified by:
notEmpty
in interfacePrimitiveIterable
- Overrides:
notEmpty
in classAbstractLazyFloatIterable
-
toList
public MutableFloatList toList()
- Specified by:
toList
in interfaceFloatIterable
- Overrides:
toList
in classAbstractLazyFloatIterable
-
toSet
public MutableFloatSet toSet()
- Specified by:
toSet
in interfaceFloatIterable
- Overrides:
toSet
in classAbstractLazyFloatIterable
-
toBag
public MutableFloatBag toBag()
- Specified by:
toBag
in interfaceFloatIterable
- Overrides:
toBag
in classAbstractLazyFloatIterable
-
asLazy
public LazyFloatIterable asLazy()
- Specified by:
asLazy
in interfaceFloatIterable
- Overrides:
asLazy
in classAbstractLazyFloatIterable
-
-