ByteIterable
, ByteValuesMap
, DoubleByteMap
, MutableByteValuesMap
, PrimitiveIterable
DoubleByteHashMap
, SynchronizedDoubleByteMap
, UnmodifiableDoubleByteMap
public interface MutableDoubleByteMap extends DoubleByteMap, MutableByteValuesMap
Modifier and Type | Method | Description |
---|---|---|
byte |
addToValue(double key,
byte toBeAdded) |
|
MutableDoubleByteMap |
asSynchronized() |
|
MutableDoubleByteMap |
asUnmodifiable() |
|
MutableByteDoubleMap |
flipUniqueValues() |
Return the ByteDoubleMap that is obtained by flipping the direction of this map and making the associations
from value to key.
|
byte |
getIfAbsentPut(double key,
byte value) |
|
byte |
getIfAbsentPut(double key,
ByteFunction0 function) |
|
<P> byte |
getIfAbsentPutWith(double key,
ByteFunction<? super P> function,
P parameter) |
|
byte |
getIfAbsentPutWithKey(double key,
DoubleToByteFunction function) |
|
void |
put(double key,
byte value) |
|
void |
putAll(DoubleByteMap map) |
|
default void |
putPair(DoubleBytePair keyValuePair) |
This method allows MutableDoubleByteMap the ability to add an element in the form of DoubleBytePair.
|
MutableDoubleByteMap |
reject(DoubleBytePredicate predicate) |
|
void |
remove(double key) |
|
void |
removeKey(double key) |
|
byte |
removeKeyIfAbsent(double key,
byte value) |
|
MutableDoubleByteMap |
select(DoubleBytePredicate predicate) |
|
byte |
updateValue(double key,
byte initialValueIfAbsent,
ByteToByteFunction function) |
|
void |
updateValues(DoubleByteToByteFunction function) |
Updates the values in-place.
|
default MutableDoubleByteMap |
withAllKeyValues(Iterable<DoubleBytePair> keyValuePairs) |
|
MutableDoubleByteMap |
withKeyValue(double key,
byte value) |
|
MutableDoubleByteMap |
withoutAllKeys(DoubleIterable keys) |
|
MutableDoubleByteMap |
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
byteIterator, clear, collect, reject, select
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size
void put(double key, byte value)
default void putPair(DoubleBytePair keyValuePair)
put(double, byte)
void putAll(DoubleByteMap map)
void updateValues(DoubleByteToByteFunction 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)
byte removeKeyIfAbsent(double key, byte value)
byte getIfAbsentPut(double key, byte value)
byte getIfAbsentPut(double key, ByteFunction0 function)
byte getIfAbsentPutWithKey(double key, DoubleToByteFunction function)
<P> byte getIfAbsentPutWith(double key, ByteFunction<? super P> function, P parameter)
byte updateValue(double key, byte initialValueIfAbsent, ByteToByteFunction function)
MutableByteDoubleMap flipUniqueValues()
DoubleByteMap
flipUniqueValues
in interface DoubleByteMap
MutableDoubleByteMap select(DoubleBytePredicate predicate)
select
in interface DoubleByteMap
MutableDoubleByteMap reject(DoubleBytePredicate predicate)
reject
in interface DoubleByteMap
MutableDoubleByteMap withKeyValue(double key, byte value)
MutableDoubleByteMap withoutKey(double key)
MutableDoubleByteMap withoutAllKeys(DoubleIterable keys)
default MutableDoubleByteMap withAllKeyValues(Iterable<DoubleBytePair> keyValuePairs)
MutableDoubleByteMap asUnmodifiable()
MutableDoubleByteMap asSynchronized()
byte addToValue(double key, byte toBeAdded)
Copyright © 2004–2019. All rights reserved.