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