BooleanIterable, BooleanValuesMap, ByteBooleanMap, MutableBooleanValuesMap, PrimitiveIterableByteBooleanHashMap, SynchronizedByteBooleanMap, UnmodifiableByteBooleanMappublic interface MutableByteBooleanMap extends ByteBooleanMap, MutableBooleanValuesMap
| Modifier and Type | Method | Description |
|---|---|---|
MutableByteBooleanMap |
asSynchronized() |
|
MutableByteBooleanMap |
asUnmodifiable() |
|
boolean |
getIfAbsentPut(byte key,
boolean value) |
|
boolean |
getIfAbsentPut(byte key,
BooleanFunction0 function) |
|
<P> boolean |
getIfAbsentPutWith(byte key,
BooleanFunction<? super P> function,
P parameter) |
|
boolean |
getIfAbsentPutWithKey(byte key,
ByteToBooleanFunction function) |
|
void |
put(byte key,
boolean value) |
|
void |
putAll(ByteBooleanMap map) |
|
default void |
putPair(ByteBooleanPair keyValuePair) |
This method allows MutableByteBooleanMap the ability to add an element in the form of ByteBooleanPair.
|
MutableByteBooleanMap |
reject(ByteBooleanPredicate predicate) |
|
void |
remove(byte key) |
|
void |
removeKey(byte key) |
|
boolean |
removeKeyIfAbsent(byte key,
boolean value) |
|
MutableByteBooleanMap |
select(ByteBooleanPredicate predicate) |
|
boolean |
updateValue(byte key,
boolean initialValueIfAbsent,
BooleanToBooleanFunction function) |
|
void |
updateValues(ByteBooleanToBooleanFunction function) |
Updates the values in-place.
|
default MutableByteBooleanMap |
withAllKeyValues(java.lang.Iterable<ByteBooleanPair> keyValuePairs) |
|
MutableByteBooleanMap |
withKeyValue(byte key,
boolean value) |
|
MutableByteBooleanMap |
withoutAllKeys(ByteIterable keys) |
|
MutableByteBooleanMap |
withoutKey(byte key) |
allSatisfy, anySatisfy, asLazy, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, each, flatCollect, forEach, injectInto, noneSatisfy, reduce, reduceIfEmpty, reject, select, toArray, toBag, toList, toSetcontainsValue, forEachValue, tap, valuescontainsKey, equals, forEachKey, forEachKeyValue, get, getIfAbsent, getOrThrow, hashCode, keySet, keysView, keyValuesView, toImmutable, toStringbooleanIterator, clear, collect, reject, selectappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, sizevoid put(byte key,
boolean value)
default void putPair(ByteBooleanPair keyValuePair)
put(byte, boolean)void putAll(ByteBooleanMap map)
void updateValues(ByteBooleanToBooleanFunction 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)
boolean removeKeyIfAbsent(byte key,
boolean value)
boolean getIfAbsentPut(byte key,
boolean value)
boolean getIfAbsentPut(byte key,
BooleanFunction0 function)
boolean getIfAbsentPutWithKey(byte key,
ByteToBooleanFunction function)
<P> boolean getIfAbsentPutWith(byte key,
BooleanFunction<? super P> function,
P parameter)
boolean updateValue(byte key,
boolean initialValueIfAbsent,
BooleanToBooleanFunction function)
MutableByteBooleanMap select(ByteBooleanPredicate predicate)
select in interface ByteBooleanMapMutableByteBooleanMap reject(ByteBooleanPredicate predicate)
reject in interface ByteBooleanMapMutableByteBooleanMap withKeyValue(byte key, boolean value)
MutableByteBooleanMap withoutKey(byte key)
MutableByteBooleanMap withoutAllKeys(ByteIterable keys)
default MutableByteBooleanMap withAllKeyValues(java.lang.Iterable<ByteBooleanPair> keyValuePairs)
MutableByteBooleanMap asUnmodifiable()
MutableByteBooleanMap asSynchronized()
Copyright © 2004–2020. All rights reserved.