public class SelectFloatIterable extends AbstractLazyFloatIterable
| Constructor and Description |
|---|
SelectFloatIterable(com.gs.collections.api.FloatIterable delegate,
com.gs.collections.api.block.predicate.primitive.FloatPredicate predicate) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allSatisfy(com.gs.collections.api.block.predicate.primitive.FloatPredicate predicate) |
boolean |
anySatisfy(com.gs.collections.api.block.predicate.primitive.FloatPredicate predicate) |
double |
average() |
boolean |
containsAll(float... source) |
boolean |
containsAll(com.gs.collections.api.FloatIterable source) |
int |
count(com.gs.collections.api.block.predicate.primitive.FloatPredicate predicate) |
com.gs.collections.api.iterator.FloatIterator |
floatIterator() |
void |
forEach(com.gs.collections.api.block.procedure.primitive.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(com.gs.collections.api.block.predicate.primitive.FloatPredicate predicate) |
boolean |
notEmpty()
The English equivalent of !this.isEmpty()
|
int |
size()
Returns the number of items in this iterable.
|
double |
sum() |
float[] |
toArray() |
com.gs.collections.api.bag.primitive.MutableFloatBag |
toBag() |
com.gs.collections.api.list.primitive.MutableFloatList |
toList() |
com.gs.collections.api.set.primitive.MutableFloatSet |
toSet() |
float[] |
toSortedArray() |
com.gs.collections.api.list.primitive.MutableFloatList |
toSortedList() |
appendString, appendString, appendString, asLazy, collect, contains, detectIfNone, injectInto, makeString, makeString, makeString, reject, select, toStringpublic SelectFloatIterable(com.gs.collections.api.FloatIterable delegate,
com.gs.collections.api.block.predicate.primitive.FloatPredicate predicate)
public com.gs.collections.api.iterator.FloatIterator floatIterator()
public void forEach(com.gs.collections.api.block.procedure.primitive.FloatProcedure procedure)
public int size()
com.gs.collections.api.PrimitiveIterablesize in interface com.gs.collections.api.PrimitiveIterablesize in class AbstractLazyFloatIterablepublic boolean isEmpty()
com.gs.collections.api.PrimitiveIterableisEmpty in interface com.gs.collections.api.PrimitiveIterableisEmpty in class AbstractLazyFloatIterablepublic boolean notEmpty()
com.gs.collections.api.PrimitiveIterablenotEmpty in interface com.gs.collections.api.PrimitiveIterablenotEmpty in class AbstractLazyFloatIterablepublic int count(com.gs.collections.api.block.predicate.primitive.FloatPredicate predicate)
count in interface com.gs.collections.api.FloatIterablecount in class AbstractLazyFloatIterablepublic boolean anySatisfy(com.gs.collections.api.block.predicate.primitive.FloatPredicate predicate)
anySatisfy in interface com.gs.collections.api.FloatIterableanySatisfy in class AbstractLazyFloatIterablepublic boolean allSatisfy(com.gs.collections.api.block.predicate.primitive.FloatPredicate predicate)
allSatisfy in interface com.gs.collections.api.FloatIterableallSatisfy in class AbstractLazyFloatIterablepublic boolean noneSatisfy(com.gs.collections.api.block.predicate.primitive.FloatPredicate predicate)
noneSatisfy in interface com.gs.collections.api.FloatIterablenoneSatisfy in class AbstractLazyFloatIterablepublic double sum()
sum in interface com.gs.collections.api.FloatIterablesum in class AbstractLazyFloatIterablepublic float max()
max in interface com.gs.collections.api.FloatIterablemax in class AbstractLazyFloatIterablepublic float min()
min in interface com.gs.collections.api.FloatIterablemin in class AbstractLazyFloatIterablepublic float minIfEmpty(float defaultValue)
minIfEmpty in interface com.gs.collections.api.FloatIterableminIfEmpty in class AbstractLazyFloatIterablepublic float maxIfEmpty(float defaultValue)
maxIfEmpty in interface com.gs.collections.api.FloatIterablemaxIfEmpty in class AbstractLazyFloatIterablepublic double average()
average in interface com.gs.collections.api.FloatIterableaverage in class AbstractLazyFloatIterablepublic double median()
median in interface com.gs.collections.api.FloatIterablemedian in class AbstractLazyFloatIterablepublic float[] toSortedArray()
toSortedArray in interface com.gs.collections.api.FloatIterabletoSortedArray in class AbstractLazyFloatIterablepublic com.gs.collections.api.list.primitive.MutableFloatList toSortedList()
toSortedList in interface com.gs.collections.api.FloatIterabletoSortedList in class AbstractLazyFloatIterablepublic float[] toArray()
toArray in interface com.gs.collections.api.FloatIterabletoArray in class AbstractLazyFloatIterablepublic boolean containsAll(float... source)
containsAll in interface com.gs.collections.api.FloatIterablecontainsAll in class AbstractLazyFloatIterablepublic boolean containsAll(com.gs.collections.api.FloatIterable source)
containsAll in interface com.gs.collections.api.FloatIterablecontainsAll in class AbstractLazyFloatIterablepublic com.gs.collections.api.list.primitive.MutableFloatList toList()
toList in interface com.gs.collections.api.FloatIterabletoList in class AbstractLazyFloatIterablepublic com.gs.collections.api.set.primitive.MutableFloatSet toSet()
toSet in interface com.gs.collections.api.FloatIterabletoSet in class AbstractLazyFloatIterablepublic com.gs.collections.api.bag.primitive.MutableFloatBag toBag()
toBag in interface com.gs.collections.api.FloatIterabletoBag in class AbstractLazyFloatIterable