ByteByteMap, ByteIterable, ByteValuesMap, MutableByteValuesMap, PrimitiveIterableByteByteHashMap, SynchronizedByteByteMap, UnmodifiableByteByteMappublic interface MutableByteByteMap extends ByteByteMap, MutableByteValuesMap
| Modifier and Type | Method | Description |
|---|---|---|
byte |
addToValue(byte key,
byte toBeAdded) |
|
MutableByteByteMap |
asSynchronized() |
|
MutableByteByteMap |
asUnmodifiable() |
|
MutableByteByteMap |
flipUniqueValues() |
Return the ByteByteMap that is obtained by flipping the direction of this map and making the associations
from value to key.
|
byte |
getIfAbsentPut(byte key,
byte value) |
|
byte |
getIfAbsentPut(byte key,
ByteFunction0 function) |
|
<P> byte |
getIfAbsentPutWith(byte key,
ByteFunction<? super P> function,
P parameter) |
|
byte |
getIfAbsentPutWithKey(byte key,
ByteToByteFunction function) |
|
void |
put(byte key,
byte value) |
|
void |
putAll(ByteByteMap map) |
|
default void |
putPair(ByteBytePair keyValuePair) |
This method allows MutableByteByteMap the ability to add an element in the form of ByteBytePair.
|
MutableByteByteMap |
reject(ByteBytePredicate predicate) |
|
void |
remove(byte key) |
|
void |
removeKey(byte key) |
|
byte |
removeKeyIfAbsent(byte key,
byte value) |
|
MutableByteByteMap |
select(ByteBytePredicate predicate) |
|
byte |
updateValue(byte key,
byte initialValueIfAbsent,
ByteToByteFunction function) |
|
void |
updateValues(ByteByteToByteFunction function) |
Updates the values in-place.
|
default MutableByteByteMap |
withAllKeyValues(java.lang.Iterable<ByteBytePair> keyValuePairs) |
|
MutableByteByteMap |
withKeyValue(byte key,
byte value) |
|
MutableByteByteMap |
withoutAllKeys(ByteIterable keys) |
|
MutableByteByteMap |
withoutKey(byte key) |
containsKey, equals, forEachKey, forEachKeyValue, get, getIfAbsent, getOrThrow, hashCode, keySet, keysView, keyValuesView, toImmutable, toStringallSatisfy, 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, toSortedListcontainsValue, forEachValue, tap, valuesbyteIterator, clear, collect, reject, selectappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, sizevoid put(byte key,
byte value)
default void putPair(ByteBytePair keyValuePair)
put(byte, byte)void putAll(ByteByteMap map)
void updateValues(ByteByteToByteFunction function)
function - that takes a key and its value and that returns a new value for this keyvoid removeKey(byte key)
void remove(byte key)
byte removeKeyIfAbsent(byte key,
byte value)
byte getIfAbsentPut(byte key,
byte value)
byte getIfAbsentPut(byte key,
ByteFunction0 function)
byte getIfAbsentPutWithKey(byte key,
ByteToByteFunction function)
<P> byte getIfAbsentPutWith(byte key,
ByteFunction<? super P> function,
P parameter)
byte updateValue(byte key,
byte initialValueIfAbsent,
ByteToByteFunction function)
MutableByteByteMap flipUniqueValues()
ByteByteMapflipUniqueValues in interface ByteByteMapMutableByteByteMap select(ByteBytePredicate predicate)
select in interface ByteByteMapMutableByteByteMap reject(ByteBytePredicate predicate)
reject in interface ByteByteMapMutableByteByteMap withKeyValue(byte key, byte value)
MutableByteByteMap withoutKey(byte key)
MutableByteByteMap withoutAllKeys(ByteIterable keys)
default MutableByteByteMap withAllKeyValues(java.lang.Iterable<ByteBytePair> keyValuePairs)
MutableByteByteMap asUnmodifiable()
MutableByteByteMap asSynchronized()
byte addToValue(byte key,
byte toBeAdded)
Copyright © 2004–2020. All rights reserved.