public abstract class AbstractMutableFloatValuesMap extends AbstractFloatIterable implements MutableFloatValuesMap
Constructor and Description |
---|
AbstractMutableFloatValuesMap() |
Modifier and Type | Method and Description |
---|---|
boolean |
allSatisfy(FloatPredicate predicate) |
boolean |
anySatisfy(FloatPredicate predicate) |
void |
appendString(Appendable appendable,
String start,
String separator,
String end)
Prints a string representation of this collection onto the given
Appendable . |
<V> MutableCollection<V> |
collect(FloatToObjectFunction<? extends V> function) |
boolean |
contains(float value) |
boolean |
containsAll(FloatIterable source) |
boolean |
containsValue(float value) |
int |
count(FloatPredicate predicate) |
float |
detectIfNone(FloatPredicate predicate,
float value) |
void |
each(FloatProcedure procedure) |
void |
forEach(FloatProcedure procedure) |
void |
forEachValue(FloatProcedure procedure) |
boolean |
isEmpty()
Returns true if this iterable has zero items.
|
float |
max() |
float |
min() |
boolean |
noneSatisfy(FloatPredicate predicate) |
boolean |
notEmpty()
The English equivalent of !this.isEmpty()
|
MutableFloatCollection |
reject(FloatPredicate predicate) |
MutableFloatCollection |
select(FloatPredicate predicate) |
int |
size()
Returns the number of items in this iterable.
|
double |
sum() |
float[] |
toArray() |
appendString, appendString, asLazy, average, containsAll, makeString, makeString, makeString, maxIfEmpty, median, minIfEmpty, toBag, toList, toSet, toSortedArray, toSortedList, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
clear, floatIterator
values
asLazy, average, containsAll, injectInto, maxIfEmpty, median, minIfEmpty, toBag, toList, toSet, toSortedArray, toSortedList
appendString, appendString, makeString, makeString, makeString, toString
public boolean contains(float value)
contains
in interface FloatIterable
public boolean containsAll(FloatIterable source)
containsAll
in interface FloatIterable
containsAll
in class AbstractFloatIterable
public float max()
max
in interface FloatIterable
public float min()
min
in interface FloatIterable
public int size()
PrimitiveIterable
size
in interface PrimitiveIterable
public boolean isEmpty()
PrimitiveIterable
isEmpty
in interface PrimitiveIterable
isEmpty
in class AbstractFloatIterable
public boolean notEmpty()
PrimitiveIterable
notEmpty
in interface PrimitiveIterable
notEmpty
in class AbstractFloatIterable
public void forEach(FloatProcedure procedure)
forEach
in interface FloatIterable
public void each(FloatProcedure procedure)
each
in interface FloatIterable
public void appendString(Appendable appendable, String start, String separator, String end)
PrimitiveIterable
Appendable
. Prints the string returned
by PrimitiveIterable.makeString(String, String, String)
.appendString
in interface PrimitiveIterable
public float[] toArray()
toArray
in interface FloatIterable
public MutableFloatCollection select(FloatPredicate predicate)
select
in interface FloatIterable
select
in interface MutableFloatValuesMap
public MutableFloatCollection reject(FloatPredicate predicate)
reject
in interface FloatIterable
reject
in interface MutableFloatValuesMap
public <V> MutableCollection<V> collect(FloatToObjectFunction<? extends V> function)
collect
in interface FloatIterable
collect
in interface MutableFloatValuesMap
public float detectIfNone(FloatPredicate predicate, float value)
detectIfNone
in interface FloatIterable
public int count(FloatPredicate predicate)
count
in interface FloatIterable
public boolean anySatisfy(FloatPredicate predicate)
anySatisfy
in interface FloatIterable
public boolean allSatisfy(FloatPredicate predicate)
allSatisfy
in interface FloatIterable
public boolean noneSatisfy(FloatPredicate predicate)
noneSatisfy
in interface FloatIterable
public double sum()
sum
in interface FloatIterable
public boolean containsValue(float value)
containsValue
in interface FloatValuesMap
public void forEachValue(FloatProcedure procedure)
forEachValue
in interface FloatValuesMap
Copyright © 2004–2016. All rights reserved.