public interface MutableShortLongMap extends ShortLongMap, MutableLongValuesMap
| Modifier and Type | Method and Description |
|---|---|
long |
addToValue(short key,
long toBeAdded) |
MutableShortLongMap |
asSynchronized() |
MutableShortLongMap |
asUnmodifiable() |
MutableLongShortMap |
flipUniqueValues()
Return the LongShortMap that is obtained by flipping the direction of this map and making the associations
from value to key.
|
long |
getIfAbsentPut(short key,
long value) |
long |
getIfAbsentPut(short key,
LongFunction0 function) |
<P> long |
getIfAbsentPutWith(short key,
LongFunction<? super P> function,
P parameter) |
long |
getIfAbsentPutWithKey(short key,
ShortToLongFunction function) |
void |
put(short key,
long value) |
void |
putAll(ShortLongMap map) |
MutableShortLongMap |
reject(ShortLongPredicate predicate) |
void |
remove(short key) |
void |
removeKey(short key) |
long |
removeKeyIfAbsent(short key,
long value) |
MutableShortLongMap |
select(ShortLongPredicate predicate) |
long |
updateValue(short key,
long initialValueIfAbsent,
LongToLongFunction function) |
MutableShortLongMap |
withKeyValue(short key,
long value) |
MutableShortLongMap |
withoutAllKeys(ShortIterable keys) |
MutableShortLongMap |
withoutKey(short key) |
containsKey, equals, forEachKey, forEachKeyValue, get, getIfAbsent, getOrThrow, hashCode, keySet, keysView, keyValuesView, toImmutable, toStringclear, collect, longIterator, 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,
long value)
void putAll(ShortLongMap map)
void removeKey(short key)
void remove(short key)
long removeKeyIfAbsent(short key,
long value)
long getIfAbsentPut(short key,
long value)
long getIfAbsentPut(short key,
LongFunction0 function)
long getIfAbsentPutWithKey(short key,
ShortToLongFunction function)
<P> long getIfAbsentPutWith(short key,
LongFunction<? super P> function,
P parameter)
long updateValue(short key,
long initialValueIfAbsent,
LongToLongFunction function)
MutableLongShortMap flipUniqueValues()
ShortLongMapflipUniqueValues in interface ShortLongMapMutableShortLongMap select(ShortLongPredicate predicate)
select in interface ShortLongMapMutableShortLongMap reject(ShortLongPredicate predicate)
reject in interface ShortLongMapMutableShortLongMap withKeyValue(short key, long value)
MutableShortLongMap withoutKey(short key)
MutableShortLongMap withoutAllKeys(ShortIterable keys)
MutableShortLongMap asUnmodifiable()
MutableShortLongMap asSynchronized()
long addToValue(short key,
long toBeAdded)
Copyright © 2004–2017. All rights reserved.