BooleanIterable
, BooleanValuesMap
, IntBooleanMap
, MutableBooleanValuesMap
, PrimitiveIterable
IntBooleanHashMap
, SynchronizedIntBooleanMap
, UnmodifiableIntBooleanMap
public interface MutableIntBooleanMap extends IntBooleanMap, MutableBooleanValuesMap
Modifier and Type | Method | Description |
---|---|---|
MutableIntBooleanMap |
asSynchronized() |
|
MutableIntBooleanMap |
asUnmodifiable() |
|
boolean |
getIfAbsentPut(int key,
boolean value) |
|
boolean |
getIfAbsentPut(int key,
BooleanFunction0 function) |
|
<P> boolean |
getIfAbsentPutWith(int key,
BooleanFunction<? super P> function,
P parameter) |
|
boolean |
getIfAbsentPutWithKey(int key,
IntToBooleanFunction function) |
|
void |
put(int key,
boolean value) |
|
void |
putAll(IntBooleanMap map) |
|
default void |
putPair(IntBooleanPair keyValuePair) |
This method allows MutableIntBooleanMap the ability to add an element in the form of IntBooleanPair.
|
MutableIntBooleanMap |
reject(IntBooleanPredicate predicate) |
|
void |
remove(int key) |
|
void |
removeKey(int key) |
|
boolean |
removeKeyIfAbsent(int key,
boolean value) |
|
MutableIntBooleanMap |
select(IntBooleanPredicate predicate) |
|
boolean |
updateValue(int key,
boolean initialValueIfAbsent,
BooleanToBooleanFunction function) |
|
MutableIntBooleanMap |
withKeyValue(int key,
boolean value) |
|
MutableIntBooleanMap |
withoutAllKeys(IntIterable keys) |
|
MutableIntBooleanMap |
withoutKey(int 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(int key, boolean value)
default void putPair(IntBooleanPair keyValuePair)
put(int, boolean)
void putAll(IntBooleanMap map)
void removeKey(int key)
void remove(int key)
boolean removeKeyIfAbsent(int key, boolean value)
boolean getIfAbsentPut(int key, boolean value)
boolean getIfAbsentPut(int key, BooleanFunction0 function)
boolean getIfAbsentPutWithKey(int key, IntToBooleanFunction function)
<P> boolean getIfAbsentPutWith(int key, BooleanFunction<? super P> function, P parameter)
boolean updateValue(int key, boolean initialValueIfAbsent, BooleanToBooleanFunction function)
MutableIntBooleanMap select(IntBooleanPredicate predicate)
select
in interface IntBooleanMap
MutableIntBooleanMap reject(IntBooleanPredicate predicate)
reject
in interface IntBooleanMap
MutableIntBooleanMap withKeyValue(int key, boolean value)
MutableIntBooleanMap withoutKey(int key)
MutableIntBooleanMap withoutAllKeys(IntIterable keys)
MutableIntBooleanMap asUnmodifiable()
MutableIntBooleanMap asSynchronized()
Copyright © 2004–2018. All rights reserved.