IntIterable, IntValuesMap, MutableIntValuesMap, PrimitiveIterable, ShortIntMapShortIntHashMap, SynchronizedShortIntMap, UnmodifiableShortIntMappublic interface MutableShortIntMap extends ShortIntMap, MutableIntValuesMap
| Modifier and Type | Method | Description |
|---|---|---|
int |
addToValue(short key,
int toBeAdded) |
|
MutableShortIntMap |
asSynchronized() |
|
MutableShortIntMap |
asUnmodifiable() |
|
MutableIntShortMap |
flipUniqueValues() |
Return the IntShortMap that is obtained by flipping the direction of this map and making the associations
from value to key.
|
int |
getIfAbsentPut(short key,
int value) |
|
int |
getIfAbsentPut(short key,
IntFunction0 function) |
|
<P> int |
getIfAbsentPutWith(short key,
IntFunction<? super P> function,
P parameter) |
|
int |
getIfAbsentPutWithKey(short key,
ShortToIntFunction function) |
|
void |
put(short key,
int value) |
|
void |
putAll(ShortIntMap map) |
|
MutableShortIntMap |
reject(ShortIntPredicate predicate) |
|
void |
remove(short key) |
|
void |
removeKey(short key) |
|
int |
removeKeyIfAbsent(short key,
int value) |
|
MutableShortIntMap |
select(ShortIntPredicate predicate) |
|
int |
updateValue(short key,
int initialValueIfAbsent,
IntToIntFunction function) |
|
MutableShortIntMap |
withKeyValue(short key,
int value) |
|
MutableShortIntMap |
withoutAllKeys(ShortIterable keys) |
|
MutableShortIntMap |
withoutKey(short 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, toSortedListcontainsValue, forEachValue, tap, valuesclear, collect, intIterator, reject, selectappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, sizecontainsKey, equals, forEachKey, forEachKeyValue, get, getIfAbsent, getOrThrow, hashCode, keySet, keysView, keyValuesView, toImmutable, toStringvoid put(short key,
int value)
void putAll(ShortIntMap map)
void removeKey(short key)
void remove(short key)
int removeKeyIfAbsent(short key,
int value)
int getIfAbsentPut(short key,
int value)
int getIfAbsentPut(short key,
IntFunction0 function)
int getIfAbsentPutWithKey(short key,
ShortToIntFunction function)
<P> int getIfAbsentPutWith(short key,
IntFunction<? super P> function,
P parameter)
int updateValue(short key,
int initialValueIfAbsent,
IntToIntFunction function)
MutableIntShortMap flipUniqueValues()
ShortIntMapflipUniqueValues in interface ShortIntMapMutableShortIntMap select(ShortIntPredicate predicate)
select in interface ShortIntMapMutableShortIntMap reject(ShortIntPredicate predicate)
reject in interface ShortIntMapMutableShortIntMap withKeyValue(short key, int value)
MutableShortIntMap withoutKey(short key)
MutableShortIntMap withoutAllKeys(ShortIterable keys)
MutableShortIntMap asUnmodifiable()
MutableShortIntMap asSynchronized()
int addToValue(short key,
int toBeAdded)
Copyright © 2004–2017. All rights reserved.