CharIterable
, CharValuesMap
, DoubleCharMap
, MutableCharValuesMap
, PrimitiveIterable
DoubleCharHashMap
, SynchronizedDoubleCharMap
, UnmodifiableDoubleCharMap
public interface MutableDoubleCharMap extends DoubleCharMap, MutableCharValuesMap
Modifier and Type | Method | Description |
---|---|---|
char |
addToValue(double key,
char toBeAdded) |
|
MutableDoubleCharMap |
asSynchronized() |
|
MutableDoubleCharMap |
asUnmodifiable() |
|
MutableCharDoubleMap |
flipUniqueValues() |
Return the CharDoubleMap that is obtained by flipping the direction of this map and making the associations
from value to key.
|
char |
getIfAbsentPut(double key,
char value) |
|
char |
getIfAbsentPut(double key,
CharFunction0 function) |
|
<P> char |
getIfAbsentPutWith(double key,
CharFunction<? super P> function,
P parameter) |
|
char |
getIfAbsentPutWithKey(double key,
DoubleToCharFunction function) |
|
void |
put(double key,
char value) |
|
void |
putAll(DoubleCharMap map) |
|
default void |
putPair(DoubleCharPair keyValuePair) |
This method allows MutableDoubleCharMap the ability to add an element in the form of DoubleCharPair.
|
MutableDoubleCharMap |
reject(DoubleCharPredicate predicate) |
|
void |
remove(double key) |
|
void |
removeKey(double key) |
|
char |
removeKeyIfAbsent(double key,
char value) |
|
MutableDoubleCharMap |
select(DoubleCharPredicate predicate) |
|
char |
updateValue(double key,
char initialValueIfAbsent,
CharToCharFunction function) |
|
void |
updateValues(DoubleCharToCharFunction function) |
Updates the values in-place.
|
default MutableDoubleCharMap |
withAllKeyValues(Iterable<DoubleCharPair> keyValuePairs) |
|
MutableDoubleCharMap |
withKeyValue(double key,
char value) |
|
MutableDoubleCharMap |
withoutAllKeys(DoubleIterable keys) |
|
MutableDoubleCharMap |
withoutKey(double key) |
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, reduce, reduceIfEmpty, reject, select, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedList
containsValue, forEachValue, tap, values
containsKey, equals, forEachKey, forEachKeyValue, get, getIfAbsent, getOrThrow, hashCode, keySet, keysView, keyValuesView, toImmutable, toString
charIterator, clear, collect, reject, select
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size
void put(double key, char value)
default void putPair(DoubleCharPair keyValuePair)
put(double, char)
void putAll(DoubleCharMap map)
void updateValues(DoubleCharToCharFunction function)
function
- that takes a key and its value and that returns a new value for this keyvoid removeKey(double key)
void remove(double key)
char removeKeyIfAbsent(double key, char value)
char getIfAbsentPut(double key, char value)
char getIfAbsentPut(double key, CharFunction0 function)
char getIfAbsentPutWithKey(double key, DoubleToCharFunction function)
<P> char getIfAbsentPutWith(double key, CharFunction<? super P> function, P parameter)
char updateValue(double key, char initialValueIfAbsent, CharToCharFunction function)
MutableCharDoubleMap flipUniqueValues()
DoubleCharMap
flipUniqueValues
in interface DoubleCharMap
MutableDoubleCharMap select(DoubleCharPredicate predicate)
select
in interface DoubleCharMap
MutableDoubleCharMap reject(DoubleCharPredicate predicate)
reject
in interface DoubleCharMap
MutableDoubleCharMap withKeyValue(double key, char value)
MutableDoubleCharMap withoutKey(double key)
MutableDoubleCharMap withoutAllKeys(DoubleIterable keys)
default MutableDoubleCharMap withAllKeyValues(Iterable<DoubleCharPair> keyValuePairs)
MutableDoubleCharMap asUnmodifiable()
MutableDoubleCharMap asSynchronized()
char addToValue(double key, char toBeAdded)
Copyright © 2004–2019. All rights reserved.