DoubleIterable, ObjectDoubleMap<K>, PrimitiveIterableObjectDoubleHashMap, ObjectDoubleHashMapWithHashingStrategy, SynchronizedObjectDoubleMap, UnmodifiableObjectDoubleMappublic interface MutableObjectDoubleMap<K> extends ObjectDoubleMap<K>
| Modifier and Type | Method | Description |
|---|---|---|
double |
addToValue(K key,
double toBeAdded) |
|
MutableObjectDoubleMap<K> |
asSynchronized() |
|
MutableObjectDoubleMap<K> |
asUnmodifiable() |
|
void |
clear() |
|
<V> MutableCollection<V> |
collect(DoubleToObjectFunction<? extends V> function) |
Returns a new collection with the results of applying the specified function on each element of the source
collection.
|
MutableDoubleIterator |
doubleIterator() |
Returns a primitive iterator that can be used to iterate over the DoubleIterable in an
imperative style.
|
MutableDoubleObjectMap<K> |
flipUniqueValues() |
Return the DoubleObjectMap that is obtained by flipping the direction of this map and making the associations
from value to key.
|
double |
getIfAbsentPut(K key,
double value) |
|
double |
getIfAbsentPut(K key,
DoubleFunction0 function) |
|
<P> double |
getIfAbsentPutWith(K key,
DoubleFunction<? super P> function,
P parameter) |
|
double |
getIfAbsentPutWithKey(K key,
DoubleFunction<? super K> function) |
|
void |
put(K key,
double value) |
|
void |
putAll(ObjectDoubleMap<? extends K> map) |
|
MutableDoubleCollection |
reject(DoublePredicate predicate) |
Returns a new DoubleIterable with all of the elements in the DoubleIterable that
return false for the specified predicate.
|
MutableObjectDoubleMap<K> |
reject(ObjectDoublePredicate<? super K> predicate) |
|
void |
remove(java.lang.Object key) |
|
void |
removeKey(K key) |
|
double |
removeKeyIfAbsent(K key,
double value) |
|
MutableDoubleCollection |
select(DoublePredicate predicate) |
Returns a new DoubleIterable with all of the elements in the DoubleIterable that
return true for the specified predicate.
|
MutableObjectDoubleMap<K> |
select(ObjectDoublePredicate<? super K> predicate) |
|
default MutableObjectDoubleMap<K> |
tap(DoubleProcedure procedure) |
|
double |
updateValue(K key,
double initialValueIfAbsent,
DoubleToDoubleFunction function) |
|
MutableObjectDoubleMap<K> |
withKeyValue(K key,
double value) |
|
MutableObjectDoubleMap<K> |
withoutAllKeys(java.lang.Iterable<? extends K> keys) |
|
MutableObjectDoubleMap<K> |
withoutKey(K key) |
allSatisfy, anySatisfy, asLazy, average, averageIfEmpty, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, each, flatCollect, forEach, injectInto, max, maxIfEmpty, median, medianIfEmpty, min, minIfEmpty, noneSatisfy, reject, select, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedListcontainsKey, containsValue, forEachKey, forEachKeyValue, forEachValue, get, getIfAbsent, getOrThrow, keySet, keysView, keyValuesView, toImmutable, toString, valuesappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, sizeMutableDoubleIterator doubleIterator()
DoubleIterabledoubleIterator in interface DoubleIterablevoid clear()
void put(K key, double value)
void putAll(ObjectDoubleMap<? extends K> map)
void removeKey(K key)
void remove(java.lang.Object key)
double removeKeyIfAbsent(K key, double value)
double getIfAbsentPut(K key, double value)
double getIfAbsentPut(K key, DoubleFunction0 function)
double getIfAbsentPutWithKey(K key, DoubleFunction<? super K> function)
<P> double getIfAbsentPutWith(K key, DoubleFunction<? super P> function, P parameter)
double updateValue(K key, double initialValueIfAbsent, DoubleToDoubleFunction function)
MutableDoubleObjectMap<K> flipUniqueValues()
ObjectDoubleMapflipUniqueValues in interface ObjectDoubleMap<K>MutableObjectDoubleMap<K> select(ObjectDoublePredicate<? super K> predicate)
select in interface ObjectDoubleMap<K>MutableObjectDoubleMap<K> reject(ObjectDoublePredicate<? super K> predicate)
reject in interface ObjectDoubleMap<K>MutableDoubleCollection select(DoublePredicate predicate)
DoubleIterableselect in interface DoubleIterableMutableDoubleCollection reject(DoublePredicate predicate)
DoubleIterablereject in interface DoubleIterabledefault MutableObjectDoubleMap<K> tap(DoubleProcedure procedure)
tap in interface DoubleIterabletap in interface ObjectDoubleMap<K><V> MutableCollection<V> collect(DoubleToObjectFunction<? extends V> function)
DoubleIterablecollect in interface DoubleIterableMutableObjectDoubleMap<K> withKeyValue(K key, double value)
MutableObjectDoubleMap<K> withoutKey(K key)
MutableObjectDoubleMap<K> withoutAllKeys(java.lang.Iterable<? extends K> keys)
MutableObjectDoubleMap<K> asUnmodifiable()
MutableObjectDoubleMap<K> asSynchronized()
double addToValue(K key, double toBeAdded)
Copyright © 2004–2017. All rights reserved.