BooleanIterable
, BooleanValuesMap
, FloatBooleanMap
, MutableBooleanValuesMap
, PrimitiveIterable
FloatBooleanHashMap
, SynchronizedFloatBooleanMap
, UnmodifiableFloatBooleanMap
public 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, toSet
containsValue, forEachValue, tap, values
containsKey, equals, forEachKey, forEachKeyValue, get, getIfAbsent, getOrThrow, hashCode, keySet, keysView, keyValuesView, toImmutable, toString
booleanIterator, clear, collect, reject, select
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size
void 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 FloatBooleanMap
MutableFloatBooleanMap reject(FloatBooleanPredicate predicate)
reject
in interface FloatBooleanMap
MutableFloatBooleanMap 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.