ByteDoubleMap
, DoubleIterable
, DoubleValuesMap
, MutableDoubleValuesMap
, PrimitiveIterable
ByteDoubleHashMap
, SynchronizedByteDoubleMap
, UnmodifiableByteDoubleMap
public interface MutableByteDoubleMap extends ByteDoubleMap, MutableDoubleValuesMap
Modifier and Type | Method | Description |
---|---|---|
double |
addToValue(byte key,
double toBeAdded) |
|
MutableByteDoubleMap |
asSynchronized() |
|
MutableByteDoubleMap |
asUnmodifiable() |
|
MutableDoubleByteMap |
flipUniqueValues() |
Return the DoubleByteMap that is obtained by flipping the direction of this map and making the associations
from value to key.
|
double |
getIfAbsentPut(byte key,
double value) |
|
double |
getIfAbsentPut(byte key,
DoubleFunction0 function) |
|
<P> double |
getIfAbsentPutWith(byte key,
DoubleFunction<? super P> function,
P parameter) |
|
double |
getIfAbsentPutWithKey(byte key,
ByteToDoubleFunction function) |
|
void |
put(byte key,
double value) |
|
void |
putAll(ByteDoubleMap map) |
|
default void |
putPair(ByteDoublePair keyValuePair) |
This method allows MutableByteDoubleMap the ability to add an element in the form of ByteDoublePair.
|
MutableByteDoubleMap |
reject(ByteDoublePredicate predicate) |
|
void |
remove(byte key) |
|
void |
removeKey(byte key) |
|
double |
removeKeyIfAbsent(byte key,
double value) |
|
MutableByteDoubleMap |
select(ByteDoublePredicate predicate) |
|
double |
updateValue(byte key,
double initialValueIfAbsent,
DoubleToDoubleFunction function) |
|
MutableByteDoubleMap |
withKeyValue(byte key,
double value) |
|
MutableByteDoubleMap |
withoutAllKeys(ByteIterable keys) |
|
MutableByteDoubleMap |
withoutKey(byte 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
clear, collect, doubleIterator, reject, select
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size
void put(byte key, double value)
default void putPair(ByteDoublePair keyValuePair)
put(byte, double)
void putAll(ByteDoubleMap map)
void removeKey(byte key)
void remove(byte key)
double removeKeyIfAbsent(byte key, double value)
double getIfAbsentPut(byte key, double value)
double getIfAbsentPut(byte key, DoubleFunction0 function)
double getIfAbsentPutWithKey(byte key, ByteToDoubleFunction function)
<P> double getIfAbsentPutWith(byte key, DoubleFunction<? super P> function, P parameter)
double updateValue(byte key, double initialValueIfAbsent, DoubleToDoubleFunction function)
MutableDoubleByteMap flipUniqueValues()
ByteDoubleMap
flipUniqueValues
in interface ByteDoubleMap
MutableByteDoubleMap select(ByteDoublePredicate predicate)
select
in interface ByteDoubleMap
MutableByteDoubleMap reject(ByteDoublePredicate predicate)
reject
in interface ByteDoubleMap
MutableByteDoubleMap withKeyValue(byte key, double value)
MutableByteDoubleMap withoutKey(byte key)
MutableByteDoubleMap withoutAllKeys(ByteIterable keys)
MutableByteDoubleMap asUnmodifiable()
MutableByteDoubleMap asSynchronized()
double addToValue(byte key, double toBeAdded)
Copyright © 2004–2018. All rights reserved.