BooleanIterable
, BooleanValuesMap
, LongBooleanMap
, MutableBooleanValuesMap
, PrimitiveIterable
LongBooleanHashMap
, SynchronizedLongBooleanMap
, UnmodifiableLongBooleanMap
public interface MutableLongBooleanMap extends LongBooleanMap, MutableBooleanValuesMap
Modifier and Type | Method | Description |
---|---|---|
MutableLongBooleanMap |
asSynchronized() |
|
MutableLongBooleanMap |
asUnmodifiable() |
|
boolean |
getIfAbsentPut(long key,
boolean value) |
|
boolean |
getIfAbsentPut(long key,
BooleanFunction0 function) |
|
<P> boolean |
getIfAbsentPutWith(long key,
BooleanFunction<? super P> function,
P parameter) |
|
boolean |
getIfAbsentPutWithKey(long key,
LongToBooleanFunction function) |
|
void |
put(long key,
boolean value) |
|
void |
putAll(LongBooleanMap map) |
|
default void |
putPair(LongBooleanPair keyValuePair) |
This method allows MutableLongBooleanMap the ability to add an element in the form of LongBooleanPair.
|
MutableLongBooleanMap |
reject(LongBooleanPredicate predicate) |
|
void |
remove(long key) |
|
void |
removeKey(long key) |
|
boolean |
removeKeyIfAbsent(long key,
boolean value) |
|
MutableLongBooleanMap |
select(LongBooleanPredicate predicate) |
|
boolean |
updateValue(long key,
boolean initialValueIfAbsent,
BooleanToBooleanFunction function) |
|
MutableLongBooleanMap |
withKeyValue(long key,
boolean value) |
|
MutableLongBooleanMap |
withoutAllKeys(LongIterable keys) |
|
MutableLongBooleanMap |
withoutKey(long key) |
allSatisfy, anySatisfy, asLazy, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, each, flatCollect, forEach, injectInto, noneSatisfy, 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(long key, boolean value)
default void putPair(LongBooleanPair keyValuePair)
put(long, boolean)
void putAll(LongBooleanMap map)
void removeKey(long key)
void remove(long key)
boolean removeKeyIfAbsent(long key, boolean value)
boolean getIfAbsentPut(long key, boolean value)
boolean getIfAbsentPut(long key, BooleanFunction0 function)
boolean getIfAbsentPutWithKey(long key, LongToBooleanFunction function)
<P> boolean getIfAbsentPutWith(long key, BooleanFunction<? super P> function, P parameter)
boolean updateValue(long key, boolean initialValueIfAbsent, BooleanToBooleanFunction function)
MutableLongBooleanMap select(LongBooleanPredicate predicate)
select
in interface LongBooleanMap
MutableLongBooleanMap reject(LongBooleanPredicate predicate)
reject
in interface LongBooleanMap
MutableLongBooleanMap withKeyValue(long key, boolean value)
MutableLongBooleanMap withoutKey(long key)
MutableLongBooleanMap withoutAllKeys(LongIterable keys)
MutableLongBooleanMap asUnmodifiable()
MutableLongBooleanMap asSynchronized()
Copyright © 2004–2018. All rights reserved.