DoubleShortMap, MutableShortValuesMap, PrimitiveIterable, ShortIterable, ShortValuesMapDoubleShortHashMap, SynchronizedDoubleShortMap, UnmodifiableDoubleShortMappublic interface MutableDoubleShortMap extends DoubleShortMap, MutableShortValuesMap
| Modifier and Type | Method | Description |
|---|---|---|
short |
addToValue(double key,
short toBeAdded) |
|
MutableDoubleShortMap |
asSynchronized() |
|
MutableDoubleShortMap |
asUnmodifiable() |
|
MutableShortDoubleMap |
flipUniqueValues() |
Return the ShortDoubleMap that is obtained by flipping the direction of this map and making the associations
from value to key.
|
short |
getIfAbsentPut(double key,
short value) |
|
short |
getIfAbsentPut(double key,
ShortFunction0 function) |
|
<P> short |
getIfAbsentPutWith(double key,
ShortFunction<? super P> function,
P parameter) |
|
short |
getIfAbsentPutWithKey(double key,
DoubleToShortFunction function) |
|
void |
put(double key,
short value) |
|
void |
putAll(DoubleShortMap map) |
|
default void |
putPair(DoubleShortPair keyValuePair) |
This method allows MutableDoubleShortMap the ability to add an element in the form of DoubleShortPair.
|
MutableDoubleShortMap |
reject(DoubleShortPredicate predicate) |
|
void |
remove(double key) |
|
void |
removeKey(double key) |
|
short |
removeKeyIfAbsent(double key,
short value) |
|
MutableDoubleShortMap |
select(DoubleShortPredicate predicate) |
|
short |
updateValue(double key,
short initialValueIfAbsent,
ShortToShortFunction function) |
|
MutableDoubleShortMap |
withKeyValue(double key,
short value) |
|
MutableDoubleShortMap |
withoutAllKeys(DoubleIterable keys) |
|
MutableDoubleShortMap |
withoutKey(double key) |
containsKey, equals, forEachKey, forEachKeyValue, get, getIfAbsent, getOrThrow, hashCode, keySet, keysView, keyValuesView, toImmutable, toStringclear, collect, reject, select, shortIteratorappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, sizeallSatisfy, anySatisfy, asLazy, average, averageIfEmpty, chunk, 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, toSortedListcontainsValue, forEachValue, tap, valuesvoid put(double key,
short value)
default void putPair(DoubleShortPair keyValuePair)
put(double, short)void putAll(DoubleShortMap map)
void removeKey(double key)
void remove(double key)
short removeKeyIfAbsent(double key,
short value)
short getIfAbsentPut(double key,
short value)
short getIfAbsentPut(double key,
ShortFunction0 function)
short getIfAbsentPutWithKey(double key,
DoubleToShortFunction function)
<P> short getIfAbsentPutWith(double key,
ShortFunction<? super P> function,
P parameter)
short updateValue(double key,
short initialValueIfAbsent,
ShortToShortFunction function)
MutableShortDoubleMap flipUniqueValues()
DoubleShortMapflipUniqueValues in interface DoubleShortMapMutableDoubleShortMap select(DoubleShortPredicate predicate)
select in interface DoubleShortMapMutableDoubleShortMap reject(DoubleShortPredicate predicate)
reject in interface DoubleShortMapMutableDoubleShortMap withKeyValue(double key, short value)
MutableDoubleShortMap withoutKey(double key)
MutableDoubleShortMap withoutAllKeys(DoubleIterable keys)
MutableDoubleShortMap asUnmodifiable()
MutableDoubleShortMap asSynchronized()
short addToValue(double key,
short toBeAdded)
Copyright © 2004–2018. All rights reserved.