ByteIntMap
, IntIterable
, IntValuesMap
, MutableIntValuesMap
, PrimitiveIterable
ByteIntHashMap
, SynchronizedByteIntMap
, UnmodifiableByteIntMap
public interface MutableByteIntMap extends ByteIntMap, MutableIntValuesMap
Modifier and Type | Method | Description |
---|---|---|
int |
addToValue(byte key,
int toBeAdded) |
|
MutableByteIntMap |
asSynchronized() |
|
MutableByteIntMap |
asUnmodifiable() |
|
MutableIntByteMap |
flipUniqueValues() |
Return the IntByteMap that is obtained by flipping the direction of this map and making the associations
from value to key.
|
int |
getIfAbsentPut(byte key,
int value) |
|
int |
getIfAbsentPut(byte key,
IntFunction0 function) |
|
<P> int |
getIfAbsentPutWith(byte key,
IntFunction<? super P> function,
P parameter) |
|
int |
getIfAbsentPutWithKey(byte key,
ByteToIntFunction function) |
|
void |
put(byte key,
int value) |
|
void |
putAll(ByteIntMap map) |
|
default void |
putPair(ByteIntPair keyValuePair) |
This method allows MutableByteIntMap the ability to add an element in the form of ByteIntPair.
|
MutableByteIntMap |
reject(ByteIntPredicate predicate) |
|
void |
remove(byte key) |
|
void |
removeKey(byte key) |
|
int |
removeKeyIfAbsent(byte key,
int value) |
|
MutableByteIntMap |
select(ByteIntPredicate predicate) |
|
int |
updateValue(byte key,
int initialValueIfAbsent,
IntToIntFunction function) |
|
MutableByteIntMap |
withKeyValue(byte key,
int value) |
|
MutableByteIntMap |
withoutAllKeys(ByteIterable keys) |
|
MutableByteIntMap |
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, intIterator, reject, select
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size
void put(byte key, int value)
default void putPair(ByteIntPair keyValuePair)
put(byte, int)
void putAll(ByteIntMap map)
void removeKey(byte key)
void remove(byte key)
int removeKeyIfAbsent(byte key, int value)
int getIfAbsentPut(byte key, int value)
int getIfAbsentPut(byte key, IntFunction0 function)
int getIfAbsentPutWithKey(byte key, ByteToIntFunction function)
<P> int getIfAbsentPutWith(byte key, IntFunction<? super P> function, P parameter)
int updateValue(byte key, int initialValueIfAbsent, IntToIntFunction function)
MutableIntByteMap flipUniqueValues()
ByteIntMap
flipUniqueValues
in interface ByteIntMap
MutableByteIntMap select(ByteIntPredicate predicate)
select
in interface ByteIntMap
MutableByteIntMap reject(ByteIntPredicate predicate)
reject
in interface ByteIntMap
MutableByteIntMap withKeyValue(byte key, int value)
MutableByteIntMap withoutKey(byte key)
MutableByteIntMap withoutAllKeys(ByteIterable keys)
MutableByteIntMap asUnmodifiable()
MutableByteIntMap asSynchronized()
int addToValue(byte key, int toBeAdded)
Copyright © 2004–2018. All rights reserved.