BooleanIterable, BooleanValuesMap, IntBooleanMap, MutableBooleanValuesMap, PrimitiveIterableIntBooleanHashMap, SynchronizedIntBooleanMap, UnmodifiableIntBooleanMappublic 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) |
|
void |
updateValues(IntBooleanToBooleanFunction function) |
Updates the values in-place.
|
default MutableIntBooleanMap |
withAllKeyValues(java.lang.Iterable<IntBooleanPair> keyValuePairs) |
|
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, 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(int key,
boolean value)
default void putPair(IntBooleanPair keyValuePair)
put(int, boolean)void putAll(IntBooleanMap map)
void updateValues(IntBooleanToBooleanFunction function)
function - that takes a key and its value and that returns a new value for this keyvoid 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 IntBooleanMapMutableIntBooleanMap reject(IntBooleanPredicate predicate)
reject in interface IntBooleanMapMutableIntBooleanMap withKeyValue(int key, boolean value)
MutableIntBooleanMap withoutKey(int key)
MutableIntBooleanMap withoutAllKeys(IntIterable keys)
default MutableIntBooleanMap withAllKeyValues(java.lang.Iterable<IntBooleanPair> keyValuePairs)
MutableIntBooleanMap asUnmodifiable()
MutableIntBooleanMap asSynchronized()
Copyright © 2004–2020. All rights reserved.