CharIntMap, IntIterable, IntValuesMap, MutableIntValuesMap, PrimitiveIterableCharIntHashMap, SynchronizedCharIntMap, UnmodifiableCharIntMappublic interface MutableCharIntMap extends CharIntMap, MutableIntValuesMap
| Modifier and Type | Method | Description |
|---|---|---|
int |
addToValue(char key,
int toBeAdded) |
|
MutableCharIntMap |
asSynchronized() |
|
MutableCharIntMap |
asUnmodifiable() |
|
MutableIntCharMap |
flipUniqueValues() |
Return the IntCharMap that is obtained by flipping the direction of this map and making the associations
from value to key.
|
int |
getIfAbsentPut(char key,
int value) |
|
int |
getIfAbsentPut(char key,
IntFunction0 function) |
|
<P> int |
getIfAbsentPutWith(char key,
IntFunction<? super P> function,
P parameter) |
|
int |
getIfAbsentPutWithKey(char key,
CharToIntFunction function) |
|
void |
put(char key,
int value) |
|
void |
putAll(CharIntMap map) |
|
default void |
putPair(CharIntPair keyValuePair) |
This method allows MutableCharIntMap the ability to add an element in the form of CharIntPair.
|
MutableCharIntMap |
reject(CharIntPredicate predicate) |
|
void |
remove(char key) |
|
void |
removeKey(char key) |
|
int |
removeKeyIfAbsent(char key,
int value) |
|
MutableCharIntMap |
select(CharIntPredicate predicate) |
|
int |
updateValue(char key,
int initialValueIfAbsent,
IntToIntFunction function) |
|
MutableCharIntMap |
withKeyValue(char key,
int value) |
|
MutableCharIntMap |
withoutAllKeys(CharIterable keys) |
|
MutableCharIntMap |
withoutKey(char key) |
containsKey, equals, forEachKey, forEachKeyValue, get, getIfAbsent, getOrThrow, hashCode, keySet, keysView, keyValuesView, toImmutable, toStringallSatisfy, 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, sizevoid put(char key,
int value)
default void putPair(CharIntPair keyValuePair)
put(char, int)void putAll(CharIntMap map)
void removeKey(char key)
void remove(char key)
int removeKeyIfAbsent(char key,
int value)
int getIfAbsentPut(char key,
int value)
int getIfAbsentPut(char key,
IntFunction0 function)
int getIfAbsentPutWithKey(char key,
CharToIntFunction function)
<P> int getIfAbsentPutWith(char key,
IntFunction<? super P> function,
P parameter)
int updateValue(char key,
int initialValueIfAbsent,
IntToIntFunction function)
MutableIntCharMap flipUniqueValues()
CharIntMapflipUniqueValues in interface CharIntMapMutableCharIntMap select(CharIntPredicate predicate)
select in interface CharIntMapMutableCharIntMap reject(CharIntPredicate predicate)
reject in interface CharIntMapMutableCharIntMap withKeyValue(char key, int value)
MutableCharIntMap withoutKey(char key)
MutableCharIntMap withoutAllKeys(CharIterable keys)
MutableCharIntMap asUnmodifiable()
MutableCharIntMap asSynchronized()
int addToValue(char key,
int toBeAdded)
Copyright © 2004–2018. All rights reserved.