MutableShortValuesMap
, PrimitiveIterable
, ShortIterable
, ShortShortMap
, ShortValuesMap
ShortShortHashMap
, SynchronizedShortShortMap
, UnmodifiableShortShortMap
public interface MutableShortShortMap extends ShortShortMap, MutableShortValuesMap
Modifier and Type | Method | Description |
---|---|---|
short |
addToValue(short key,
short toBeAdded) |
|
MutableShortShortMap |
asSynchronized() |
|
MutableShortShortMap |
asUnmodifiable() |
|
MutableShortShortMap |
flipUniqueValues() |
Return the ShortShortMap that is obtained by flipping the direction of this map and making the associations
from value to key.
|
short |
getIfAbsentPut(short key,
short value) |
|
short |
getIfAbsentPut(short key,
ShortFunction0 function) |
|
<P> short |
getIfAbsentPutWith(short key,
ShortFunction<? super P> function,
P parameter) |
|
short |
getIfAbsentPutWithKey(short key,
ShortToShortFunction function) |
|
void |
put(short key,
short value) |
|
void |
putAll(ShortShortMap map) |
|
MutableShortShortMap |
reject(ShortShortPredicate predicate) |
|
void |
remove(short key) |
|
void |
removeKey(short key) |
|
short |
removeKeyIfAbsent(short key,
short value) |
|
MutableShortShortMap |
select(ShortShortPredicate predicate) |
|
short |
updateValue(short key,
short initialValueIfAbsent,
ShortToShortFunction function) |
|
MutableShortShortMap |
withKeyValue(short key,
short value) |
|
MutableShortShortMap |
withoutAllKeys(ShortIterable keys) |
|
MutableShortShortMap |
withoutKey(short key) |
clear, collect, reject, select, shortIterator
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size
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, toSortedList
containsKey, equals, forEachKey, forEachKeyValue, get, getIfAbsent, getOrThrow, hashCode, keySet, keysView, keyValuesView, toImmutable, toString
containsValue, forEachValue, tap, values
void put(short key, short value)
void putAll(ShortShortMap map)
void removeKey(short key)
void remove(short key)
short removeKeyIfAbsent(short key, short value)
short getIfAbsentPut(short key, short value)
short getIfAbsentPut(short key, ShortFunction0 function)
short getIfAbsentPutWithKey(short key, ShortToShortFunction function)
<P> short getIfAbsentPutWith(short key, ShortFunction<? super P> function, P parameter)
short updateValue(short key, short initialValueIfAbsent, ShortToShortFunction function)
MutableShortShortMap flipUniqueValues()
ShortShortMap
flipUniqueValues
in interface ShortShortMap
MutableShortShortMap select(ShortShortPredicate predicate)
select
in interface ShortShortMap
MutableShortShortMap reject(ShortShortPredicate predicate)
reject
in interface ShortShortMap
MutableShortShortMap withKeyValue(short key, short value)
MutableShortShortMap withoutKey(short key)
MutableShortShortMap withoutAllKeys(ShortIterable keys)
MutableShortShortMap asUnmodifiable()
MutableShortShortMap asSynchronized()
short addToValue(short key, short toBeAdded)
Copyright © 2004–2017. All rights reserved.