public interface MutableShortDoubleMap extends ShortDoubleMap, MutableDoubleValuesMap
| Modifier and Type | Method and Description |
|---|---|
double |
addToValue(short key,
double toBeAdded) |
MutableShortDoubleMap |
asSynchronized() |
MutableShortDoubleMap |
asUnmodifiable() |
MutableDoubleShortMap |
flipUniqueValues()
Return the DoubleShortMap that is obtained by flipping the direction of this map and making the associations
from value to key.
|
double |
getIfAbsentPut(short key,
double value) |
double |
getIfAbsentPut(short key,
DoubleFunction0 function) |
<P> double |
getIfAbsentPutWith(short key,
DoubleFunction<? super P> function,
P parameter) |
double |
getIfAbsentPutWithKey(short key,
ShortToDoubleFunction function) |
void |
put(short key,
double value) |
void |
putAll(ShortDoubleMap map) |
MutableShortDoubleMap |
reject(ShortDoublePredicate predicate) |
void |
remove(short key) |
void |
removeKey(short key) |
double |
removeKeyIfAbsent(short key,
double value) |
MutableShortDoubleMap |
select(ShortDoublePredicate predicate) |
double |
updateValue(short key,
double initialValueIfAbsent,
DoubleToDoubleFunction function) |
MutableShortDoubleMap |
withKeyValue(short key,
double value) |
MutableShortDoubleMap |
withoutAllKeys(ShortIterable keys) |
MutableShortDoubleMap |
withoutKey(short key) |
containsKey, equals, forEachKey, forEachKeyValue, get, getIfAbsent, getOrThrow, hashCode, keySet, keysView, keyValuesView, toImmutable, toStringclear, collect, doubleIterator, reject, selectcontainsValue, forEachValue, tap, valuesallSatisfy, 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, toSortedListappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, sizevoid put(short key,
double value)
void putAll(ShortDoubleMap map)
void removeKey(short key)
void remove(short key)
double removeKeyIfAbsent(short key,
double value)
double getIfAbsentPut(short key,
double value)
double getIfAbsentPut(short key,
DoubleFunction0 function)
double getIfAbsentPutWithKey(short key,
ShortToDoubleFunction function)
<P> double getIfAbsentPutWith(short key,
DoubleFunction<? super P> function,
P parameter)
double updateValue(short key,
double initialValueIfAbsent,
DoubleToDoubleFunction function)
MutableDoubleShortMap flipUniqueValues()
ShortDoubleMapflipUniqueValues in interface ShortDoubleMapMutableShortDoubleMap select(ShortDoublePredicate predicate)
select in interface ShortDoubleMapMutableShortDoubleMap reject(ShortDoublePredicate predicate)
reject in interface ShortDoubleMapMutableShortDoubleMap withKeyValue(short key, double value)
MutableShortDoubleMap withoutKey(short key)
MutableShortDoubleMap withoutAllKeys(ShortIterable keys)
MutableShortDoubleMap asUnmodifiable()
MutableShortDoubleMap asSynchronized()
double addToValue(short key,
double toBeAdded)
Copyright © 2004–2017. All rights reserved.