FloatIterable, LazyFloatIterable, PrimitiveIterablepublic class ReverseFloatIterable extends AbstractLazyFloatIterable
ReverseIterable| Constructor | Description |
|---|---|
ReverseFloatIterable(FloatList newAdapted) |
| Modifier and Type | Method | Description |
|---|---|---|
static ReverseFloatIterable |
adapt(FloatList floatList) |
|
LazyFloatIterable |
asLazy() |
Returns a LazyFloatIterable adapter wrapping the source FloatIterable.
|
double |
average() |
|
boolean |
contains(float value) |
Returns true if the value is contained in the FloatIterable, and false if it is not.
|
boolean |
containsAll(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.
|
boolean |
containsAll(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.
|
void |
each(FloatProcedure procedure) |
A synonym for forEach.
|
FloatIterator |
floatIterator() |
Returns a primitive iterator that can be used to iterate over the FloatIterable in an
imperative style.
|
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() |
Converts the FloatIterable to a primitive float array.
|
MutableFloatBag |
toBag() |
Converts the FloatIterable to a new MutableFloatBag.
|
MutableFloatList |
toList() |
Converts the FloatIterable to a new MutableFloatList.
|
MutableFloatSet |
toSet() |
Converts the FloatIterable to a new MutableFloatSet.
|
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, toStringcollect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, flatCollect, reject, select, summaryStatisticspublic ReverseFloatIterable(FloatList newAdapted)
public static ReverseFloatIterable adapt(FloatList floatList)
public FloatIterator floatIterator()
FloatIterablepublic void each(FloatProcedure procedure)
FloatIterablepublic double sum()
sum in interface FloatIterablesum in class AbstractLazyFloatIterablepublic float max()
max in interface FloatIterablemax in class AbstractLazyFloatIterablepublic float min()
min in interface FloatIterablemin in class AbstractLazyFloatIterablepublic float minIfEmpty(float defaultValue)
minIfEmpty in interface FloatIterableminIfEmpty in class AbstractLazyFloatIterablepublic float maxIfEmpty(float defaultValue)
maxIfEmpty in interface FloatIterablemaxIfEmpty in class AbstractLazyFloatIterablepublic double average()
average in interface FloatIterableaverage in class AbstractLazyFloatIterablepublic double median()
median in interface FloatIterablemedian in class AbstractLazyFloatIterablepublic float[] toSortedArray()
toSortedArray in interface FloatIterabletoSortedArray in class AbstractLazyFloatIterablepublic float[] toArray()
FloatIterabletoArray in interface FloatIterabletoArray in class AbstractLazyFloatIterablepublic boolean contains(float value)
FloatIterablecontains in interface FloatIterablecontains in class AbstractLazyFloatIterablepublic boolean containsAll(float... source)
FloatIterablecontainsAll in interface FloatIterablecontainsAll in class AbstractLazyFloatIterablepublic boolean containsAll(FloatIterable source)
FloatIterablecontainsAll in interface FloatIterablecontainsAll in class AbstractLazyFloatIterablepublic int size()
PrimitiveIterablesize in interface PrimitiveIterablesize in class AbstractLazyFloatIterablepublic boolean isEmpty()
PrimitiveIterableisEmpty in interface PrimitiveIterableisEmpty in class AbstractLazyFloatIterablepublic boolean notEmpty()
PrimitiveIterablenotEmpty in interface PrimitiveIterablenotEmpty in class AbstractLazyFloatIterablepublic MutableFloatList toList()
FloatIterabletoList in interface FloatIterabletoList in class AbstractLazyFloatIterablepublic MutableFloatSet toSet()
FloatIterabletoSet in interface FloatIterabletoSet in class AbstractLazyFloatIterablepublic MutableFloatBag toBag()
FloatIterabletoBag in interface FloatIterabletoBag in class AbstractLazyFloatIterablepublic LazyFloatIterable asLazy()
FloatIterableasLazy in interface FloatIterableasLazy in class AbstractLazyFloatIterableCopyright © 2004–2017. All rights reserved.