public class ReverseFloatIterable extends AbstractLazyFloatIterable
ReverseIterable
Constructor and Description |
---|
ReverseFloatIterable(FloatList newAdapted) |
Modifier and Type | Method and 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()
Returns true if this iterable has zero items.
|
float |
max() |
float |
maxIfEmpty(float defaultValue) |
double |
median() |
float |
min() |
float |
minIfEmpty(float defaultValue) |
boolean |
notEmpty()
The English equivalent of !this.isEmpty()
|
int |
size()
Returns the number of items in this iterable.
|
double |
sum() |
float[] |
toArray() |
MutableFloatBag |
toBag() |
MutableFloatList |
toList() |
MutableFloatSet |
toSet() |
float[] |
toSortedArray() |
allSatisfy, anySatisfy, appendString, appendString, appendString, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, count, detectIfNone, forEach, injectInto, makeString, makeString, makeString, noneSatisfy, reject, select, toSortedList, toString
public ReverseFloatIterable(FloatList newAdapted)
public static ReverseFloatIterable adapt(FloatList floatList)
public FloatIterator floatIterator()
public void each(FloatProcedure procedure)
public double sum()
sum
in interface FloatIterable
sum
in class AbstractLazyFloatIterable
public float max()
max
in interface FloatIterable
max
in class AbstractLazyFloatIterable
public float min()
min
in interface FloatIterable
min
in class AbstractLazyFloatIterable
public float minIfEmpty(float defaultValue)
minIfEmpty
in interface FloatIterable
minIfEmpty
in class AbstractLazyFloatIterable
public float maxIfEmpty(float defaultValue)
maxIfEmpty
in interface FloatIterable
maxIfEmpty
in class AbstractLazyFloatIterable
public double average()
average
in interface FloatIterable
average
in class AbstractLazyFloatIterable
public double median()
median
in interface FloatIterable
median
in class AbstractLazyFloatIterable
public float[] toSortedArray()
toSortedArray
in interface FloatIterable
toSortedArray
in class AbstractLazyFloatIterable
public float[] toArray()
toArray
in interface FloatIterable
toArray
in class AbstractLazyFloatIterable
public boolean contains(float value)
contains
in interface FloatIterable
contains
in class AbstractLazyFloatIterable
public boolean containsAll(float... source)
containsAll
in interface FloatIterable
containsAll
in class AbstractLazyFloatIterable
public boolean containsAll(FloatIterable source)
containsAll
in interface FloatIterable
containsAll
in class AbstractLazyFloatIterable
public int size()
PrimitiveIterable
size
in interface PrimitiveIterable
size
in class AbstractLazyFloatIterable
public boolean isEmpty()
PrimitiveIterable
isEmpty
in interface PrimitiveIterable
isEmpty
in class AbstractLazyFloatIterable
public boolean notEmpty()
PrimitiveIterable
notEmpty
in interface PrimitiveIterable
notEmpty
in class AbstractLazyFloatIterable
public MutableFloatList toList()
toList
in interface FloatIterable
toList
in class AbstractLazyFloatIterable
public MutableFloatSet toSet()
toSet
in interface FloatIterable
toSet
in class AbstractLazyFloatIterable
public MutableFloatBag toBag()
toBag
in interface FloatIterable
toBag
in class AbstractLazyFloatIterable
public LazyFloatIterable asLazy()
asLazy
in interface FloatIterable
asLazy
in class AbstractLazyFloatIterable
Copyright © 2004–2016. All rights reserved.