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