CharCharMap
, CharIterable
, CharValuesMap
, MutableCharValuesMap
, PrimitiveIterable
CharCharHashMap
, SynchronizedCharCharMap
, UnmodifiableCharCharMap
public interface MutableCharCharMap extends CharCharMap, MutableCharValuesMap
Modifier and Type | Method | Description |
---|---|---|
char |
addToValue(char key,
char toBeAdded) |
|
MutableCharCharMap |
asSynchronized() |
|
MutableCharCharMap |
asUnmodifiable() |
|
MutableCharCharMap |
flipUniqueValues() |
Return the CharCharMap that is obtained by flipping the direction of this map and making the associations
from value to key.
|
char |
getIfAbsentPut(char key,
char value) |
|
char |
getIfAbsentPut(char key,
CharFunction0 function) |
|
<P> char |
getIfAbsentPutWith(char key,
CharFunction<? super P> function,
P parameter) |
|
char |
getIfAbsentPutWithKey(char key,
CharToCharFunction function) |
|
void |
put(char key,
char value) |
|
void |
putAll(CharCharMap map) |
|
default void |
putPair(CharCharPair keyValuePair) |
This method allows MutableCharCharMap the ability to add an element in the form of CharCharPair.
|
MutableCharCharMap |
reject(CharCharPredicate predicate) |
|
void |
remove(char key) |
|
void |
removeKey(char key) |
|
char |
removeKeyIfAbsent(char key,
char value) |
|
MutableCharCharMap |
select(CharCharPredicate predicate) |
|
char |
updateValue(char key,
char initialValueIfAbsent,
CharToCharFunction function) |
|
MutableCharCharMap |
withKeyValue(char key,
char value) |
|
MutableCharCharMap |
withoutAllKeys(CharIterable keys) |
|
MutableCharCharMap |
withoutKey(char key) |
containsKey, equals, forEachKey, forEachKeyValue, get, getIfAbsent, getOrThrow, hashCode, keySet, keysView, keyValuesView, toImmutable, toString
allSatisfy, 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, toSortedList
containsValue, forEachValue, tap, values
charIterator, clear, collect, reject, select
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size
void put(char key, char value)
default void putPair(CharCharPair keyValuePair)
put(char, char)
void putAll(CharCharMap map)
void removeKey(char key)
void remove(char key)
char removeKeyIfAbsent(char key, char value)
char getIfAbsentPut(char key, char value)
char getIfAbsentPut(char key, CharFunction0 function)
char getIfAbsentPutWithKey(char key, CharToCharFunction function)
<P> char getIfAbsentPutWith(char key, CharFunction<? super P> function, P parameter)
char updateValue(char key, char initialValueIfAbsent, CharToCharFunction function)
MutableCharCharMap flipUniqueValues()
CharCharMap
flipUniqueValues
in interface CharCharMap
MutableCharCharMap select(CharCharPredicate predicate)
select
in interface CharCharMap
MutableCharCharMap reject(CharCharPredicate predicate)
reject
in interface CharCharMap
MutableCharCharMap withKeyValue(char key, char value)
MutableCharCharMap withoutKey(char key)
MutableCharCharMap withoutAllKeys(CharIterable keys)
MutableCharCharMap asUnmodifiable()
MutableCharCharMap asSynchronized()
char addToValue(char key, char toBeAdded)
Copyright © 2004–2018. All rights reserved.