public class SelectFloatIterable extends AbstractLazyFloatIterable
| Constructor and Description |
|---|
SelectFloatIterable(FloatIterable delegate,
FloatPredicate predicate) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allSatisfy(FloatPredicate predicate) |
boolean |
anySatisfy(FloatPredicate predicate) |
double |
average() |
boolean |
containsAll(float... source) |
boolean |
containsAll(FloatIterable source) |
int |
count(FloatPredicate predicate) |
FloatIterator |
floatIterator() |
void |
forEach(FloatProcedure procedure) |
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 |
noneSatisfy(FloatPredicate predicate) |
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() |
MutableFloatList |
toSortedList() |
appendString, appendString, appendString, asLazy, collect, contains, detectIfNone, injectInto, makeString, makeString, makeString, reject, select, toStringpublic SelectFloatIterable(FloatIterable delegate, FloatPredicate predicate)
public FloatIterator floatIterator()
public void forEach(FloatProcedure procedure)
public 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 int count(FloatPredicate predicate)
count in interface FloatIterablecount in class AbstractLazyFloatIterablepublic boolean anySatisfy(FloatPredicate predicate)
anySatisfy in interface FloatIterableanySatisfy in class AbstractLazyFloatIterablepublic boolean allSatisfy(FloatPredicate predicate)
allSatisfy in interface FloatIterableallSatisfy in class AbstractLazyFloatIterablepublic boolean noneSatisfy(FloatPredicate predicate)
noneSatisfy in interface FloatIterablenoneSatisfy in class AbstractLazyFloatIterablepublic 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 MutableFloatList toSortedList()
toSortedList in interface FloatIterabletoSortedList in class AbstractLazyFloatIterablepublic float[] toArray()
toArray in interface FloatIterabletoArray in class AbstractLazyFloatIterablepublic boolean containsAll(float... source)
containsAll in interface FloatIterablecontainsAll in class AbstractLazyFloatIterablepublic boolean containsAll(FloatIterable source)
containsAll in interface FloatIterablecontainsAll in class AbstractLazyFloatIterablepublic MutableFloatList toList()
toList in interface FloatIterabletoList in class AbstractLazyFloatIterablepublic MutableFloatSet toSet()
toSet in interface FloatIterabletoSet in class AbstractLazyFloatIterablepublic MutableFloatBag toBag()
toBag in interface FloatIterabletoBag in class AbstractLazyFloatIterableCopyright © 2004–2017. All rights reserved.