BooleanIterable, BooleanValuesMap, FloatBooleanMap, MutableBooleanValuesMap, PrimitiveIterableFloatBooleanHashMap, SynchronizedFloatBooleanMap, UnmodifiableFloatBooleanMappublic interface MutableFloatBooleanMap extends FloatBooleanMap, MutableBooleanValuesMap
| Modifier and Type | Method | Description |
|---|---|---|
MutableFloatBooleanMap |
asSynchronized() |
|
MutableFloatBooleanMap |
asUnmodifiable() |
|
boolean |
getIfAbsentPut(float key,
boolean value) |
|
boolean |
getIfAbsentPut(float key,
BooleanFunction0 function) |
|
<P> boolean |
getIfAbsentPutWith(float key,
BooleanFunction<? super P> function,
P parameter) |
|
boolean |
getIfAbsentPutWithKey(float key,
FloatToBooleanFunction function) |
|
void |
put(float key,
boolean value) |
|
void |
putAll(FloatBooleanMap map) |
|
default void |
putPair(FloatBooleanPair keyValuePair) |
This method allows MutableFloatBooleanMap the ability to add an element in the form of FloatBooleanPair.
|
MutableFloatBooleanMap |
reject(FloatBooleanPredicate predicate) |
|
void |
remove(float key) |
|
void |
removeKey(float key) |
|
boolean |
removeKeyIfAbsent(float key,
boolean value) |
|
MutableFloatBooleanMap |
select(FloatBooleanPredicate predicate) |
|
boolean |
updateValue(float key,
boolean initialValueIfAbsent,
BooleanToBooleanFunction function) |
|
void |
updateValues(FloatBooleanToBooleanFunction function) |
Updates the values in-place.
|
default MutableFloatBooleanMap |
withAllKeyValues(java.lang.Iterable<FloatBooleanPair> keyValuePairs) |
|
MutableFloatBooleanMap |
withKeyValue(float key,
boolean value) |
|
MutableFloatBooleanMap |
withoutAllKeys(FloatIterable keys) |
|
MutableFloatBooleanMap |
withoutKey(float 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(float key,
boolean value)
default void putPair(FloatBooleanPair keyValuePair)
put(float, boolean)void putAll(FloatBooleanMap map)
void updateValues(FloatBooleanToBooleanFunction function)
function - that takes a key and its value and that returns a new value for this keyvoid removeKey(float key)
void remove(float key)
boolean removeKeyIfAbsent(float key,
boolean value)
boolean getIfAbsentPut(float key,
boolean value)
boolean getIfAbsentPut(float key,
BooleanFunction0 function)
boolean getIfAbsentPutWithKey(float key,
FloatToBooleanFunction function)
<P> boolean getIfAbsentPutWith(float key,
BooleanFunction<? super P> function,
P parameter)
boolean updateValue(float key,
boolean initialValueIfAbsent,
BooleanToBooleanFunction function)
MutableFloatBooleanMap select(FloatBooleanPredicate predicate)
select in interface FloatBooleanMapMutableFloatBooleanMap reject(FloatBooleanPredicate predicate)
reject in interface FloatBooleanMapMutableFloatBooleanMap withKeyValue(float key, boolean value)
MutableFloatBooleanMap withoutKey(float key)
MutableFloatBooleanMap withoutAllKeys(FloatIterable keys)
default MutableFloatBooleanMap withAllKeyValues(java.lang.Iterable<FloatBooleanPair> keyValuePairs)
MutableFloatBooleanMap asUnmodifiable()
MutableFloatBooleanMap asSynchronized()
Copyright © 2004–2020. All rights reserved.