public interface MutableIntCharMap extends IntCharMap, MutableCharValuesMap
| Modifier and Type | Method and Description |
|---|---|
char |
addToValue(int key,
char toBeAdded) |
MutableIntCharMap |
asSynchronized() |
MutableIntCharMap |
asUnmodifiable() |
MutableCharIntMap |
flipUniqueValues()
Return the CharIntMap that is obtained by flipping the direction of this map and making the associations
from value to key.
|
char |
getIfAbsentPut(int key,
char value) |
char |
getIfAbsentPut(int key,
CharFunction0 function) |
<P> char |
getIfAbsentPutWith(int key,
CharFunction<? super P> function,
P parameter) |
char |
getIfAbsentPutWithKey(int key,
IntToCharFunction function) |
void |
put(int key,
char value) |
void |
putAll(IntCharMap map) |
default void |
putPair(IntCharPair keyValuePair)
This method allows MutableIntCharMap the ability to add an element in the form of IntCharPair.
|
MutableIntCharMap |
reject(IntCharPredicate predicate) |
void |
remove(int key) |
void |
removeKey(int key) |
char |
removeKeyIfAbsent(int key,
char value) |
MutableIntCharMap |
select(IntCharPredicate predicate) |
char |
updateValue(int key,
char initialValueIfAbsent,
CharToCharFunction function) |
MutableIntCharMap |
withKeyValue(int key,
char value) |
MutableIntCharMap |
withoutAllKeys(IntIterable keys) |
MutableIntCharMap |
withoutKey(int key) |
containsKey, equals, forEachKey, forEachKeyValue, get, getIfAbsent, getOrThrow, hashCode, keySet, keysView, keyValuesView, toImmutable, toStringcharIterator, clear, collect, reject, selectcontainsValue, forEachValue, tap, valuesallSatisfy, anySatisfy, asLazy, average, averageIfEmpty, chunk, 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(int key,
char value)
default void putPair(IntCharPair keyValuePair)
put(int, char)void putAll(IntCharMap map)
void removeKey(int key)
void remove(int key)
char removeKeyIfAbsent(int key,
char value)
char getIfAbsentPut(int key,
char value)
char getIfAbsentPut(int key,
CharFunction0 function)
char getIfAbsentPutWithKey(int key,
IntToCharFunction function)
<P> char getIfAbsentPutWith(int key,
CharFunction<? super P> function,
P parameter)
char updateValue(int key,
char initialValueIfAbsent,
CharToCharFunction function)
MutableCharIntMap flipUniqueValues()
IntCharMapflipUniqueValues in interface IntCharMapMutableIntCharMap select(IntCharPredicate predicate)
select in interface IntCharMapMutableIntCharMap reject(IntCharPredicate predicate)
reject in interface IntCharMapMutableIntCharMap withKeyValue(int key, char value)
MutableIntCharMap withoutKey(int key)
MutableIntCharMap withoutAllKeys(IntIterable keys)
MutableIntCharMap asUnmodifiable()
MutableIntCharMap asSynchronized()
char addToValue(int key,
char toBeAdded)
Copyright © 2004–2018. All rights reserved.