public abstract class AbstractMutableDoubleValuesMap extends AbstractDoubleIterable implements MutableDoubleValuesMap
| Constructor and Description |
|---|
AbstractMutableDoubleValuesMap() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allSatisfy(DoublePredicate predicate) |
boolean |
anySatisfy(DoublePredicate 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(DoubleToObjectFunction<? extends V> function) |
boolean |
contains(double value) |
boolean |
containsAll(DoubleIterable source) |
boolean |
containsValue(double value) |
int |
count(DoublePredicate predicate) |
double |
detectIfNone(DoublePredicate predicate,
double value) |
void |
each(DoubleProcedure procedure) |
void |
forEach(DoubleProcedure procedure) |
void |
forEachValue(DoubleProcedure procedure) |
boolean |
isEmpty()
Returns true if this iterable has zero items.
|
double |
max() |
double |
min() |
boolean |
noneSatisfy(DoublePredicate predicate) |
boolean |
notEmpty()
The English equivalent of !this.isEmpty()
|
MutableDoubleCollection |
reject(DoublePredicate predicate) |
MutableDoubleCollection |
select(DoublePredicate predicate) |
int |
size()
Returns the number of items in this iterable.
|
double |
sum() |
double[] |
toArray() |
appendString, appendString, asLazy, average, containsAll, makeString, makeString, makeString, maxIfEmpty, median, minIfEmpty, toBag, toList, toSet, toSortedArray, toSortedList, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitclear, doubleIteratorvaluesasLazy, average, containsAll, injectInto, maxIfEmpty, median, minIfEmpty, toBag, toList, toSet, toSortedArray, toSortedListappendString, appendString, makeString, makeString, makeString, toStringpublic boolean contains(double value)
contains in interface DoubleIterablepublic boolean containsAll(DoubleIterable source)
containsAll in interface DoubleIterablecontainsAll in class AbstractDoubleIterablepublic double max()
max in interface DoubleIterablepublic double min()
min in interface DoubleIterablepublic int size()
PrimitiveIterablesize in interface PrimitiveIterablepublic boolean isEmpty()
PrimitiveIterableisEmpty in interface PrimitiveIterableisEmpty in class AbstractDoubleIterablepublic boolean notEmpty()
PrimitiveIterablenotEmpty in interface PrimitiveIterablenotEmpty in class AbstractDoubleIterablepublic void forEach(DoubleProcedure procedure)
forEach in interface DoubleIterablepublic void each(DoubleProcedure procedure)
each in interface DoubleIterablepublic void appendString(Appendable appendable, String start, String separator, String end)
PrimitiveIterableAppendable. Prints the string returned
by PrimitiveIterable.makeString(String, String, String).appendString in interface PrimitiveIterablepublic double[] toArray()
toArray in interface DoubleIterablepublic MutableDoubleCollection select(DoublePredicate predicate)
select in interface DoubleIterableselect in interface MutableDoubleValuesMappublic MutableDoubleCollection reject(DoublePredicate predicate)
reject in interface DoubleIterablereject in interface MutableDoubleValuesMappublic <V> MutableCollection<V> collect(DoubleToObjectFunction<? extends V> function)
collect in interface DoubleIterablecollect in interface MutableDoubleValuesMappublic double detectIfNone(DoublePredicate predicate, double value)
detectIfNone in interface DoubleIterablepublic int count(DoublePredicate predicate)
count in interface DoubleIterablepublic boolean anySatisfy(DoublePredicate predicate)
anySatisfy in interface DoubleIterablepublic boolean allSatisfy(DoublePredicate predicate)
allSatisfy in interface DoubleIterablepublic boolean noneSatisfy(DoublePredicate predicate)
noneSatisfy in interface DoubleIterablepublic double sum()
sum in interface DoubleIterablepublic boolean containsValue(double value)
containsValue in interface DoubleValuesMappublic void forEachValue(DoubleProcedure procedure)
forEachValue in interface DoubleValuesMapCopyright © 2004–2016. All rights reserved.