ByteIterable, ByteValuesMap, IntByteMap, MutableByteValuesMap, PrimitiveIterableIntByteHashMap, SynchronizedIntByteMap, UnmodifiableIntByteMappublic interface MutableIntByteMap extends IntByteMap, MutableByteValuesMap
| Modifier and Type | Method | Description |
|---|---|---|
byte |
addToValue(int key,
byte toBeAdded) |
|
MutableIntByteMap |
asSynchronized() |
|
MutableIntByteMap |
asUnmodifiable() |
|
MutableByteIntMap |
flipUniqueValues() |
Return the ByteIntMap that is obtained by flipping the direction of this map and making the associations
from value to key.
|
byte |
getIfAbsentPut(int key,
byte value) |
|
byte |
getIfAbsentPut(int key,
ByteFunction0 function) |
|
<P> byte |
getIfAbsentPutWith(int key,
ByteFunction<? super P> function,
P parameter) |
|
byte |
getIfAbsentPutWithKey(int key,
IntToByteFunction function) |
|
void |
put(int key,
byte value) |
|
void |
putAll(IntByteMap map) |
|
default void |
putPair(IntBytePair keyValuePair) |
This method allows MutableIntByteMap the ability to add an element in the form of IntBytePair.
|
MutableIntByteMap |
reject(IntBytePredicate predicate) |
|
void |
remove(int key) |
|
void |
removeKey(int key) |
|
byte |
removeKeyIfAbsent(int key,
byte value) |
|
MutableIntByteMap |
select(IntBytePredicate predicate) |
|
byte |
updateValue(int key,
byte initialValueIfAbsent,
ByteToByteFunction function) |
|
MutableIntByteMap |
withKeyValue(int key,
byte value) |
|
MutableIntByteMap |
withoutAllKeys(IntIterable keys) |
|
MutableIntByteMap |
withoutKey(int key) |
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, toSortedListcontainsValue, forEachValue, tap, valuescontainsKey, equals, forEachKey, forEachKeyValue, get, getIfAbsent, getOrThrow, hashCode, keySet, keysView, keyValuesView, toImmutable, toStringbyteIterator, clear, collect, reject, selectappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, sizevoid put(int key,
byte value)
default void putPair(IntBytePair keyValuePair)
put(int, byte)void putAll(IntByteMap map)
void removeKey(int key)
void remove(int key)
byte removeKeyIfAbsent(int key,
byte value)
byte getIfAbsentPut(int key,
byte value)
byte getIfAbsentPut(int key,
ByteFunction0 function)
byte getIfAbsentPutWithKey(int key,
IntToByteFunction function)
<P> byte getIfAbsentPutWith(int key,
ByteFunction<? super P> function,
P parameter)
byte updateValue(int key,
byte initialValueIfAbsent,
ByteToByteFunction function)
MutableByteIntMap flipUniqueValues()
IntByteMapflipUniqueValues in interface IntByteMapMutableIntByteMap select(IntBytePredicate predicate)
select in interface IntByteMapMutableIntByteMap reject(IntBytePredicate predicate)
reject in interface IntByteMapMutableIntByteMap withKeyValue(int key, byte value)
MutableIntByteMap withoutKey(int key)
MutableIntByteMap withoutAllKeys(IntIterable keys)
MutableIntByteMap asUnmodifiable()
MutableIntByteMap asSynchronized()
byte addToValue(int key,
byte toBeAdded)
Copyright © 2004–2018. All rights reserved.