public interface MutableObjectBooleanMap<K> extends ObjectBooleanMap<K>
| Modifier and Type | Method and Description |
|---|---|
MutableObjectBooleanMap<K> |
asSynchronized() |
MutableObjectBooleanMap<K> |
asUnmodifiable() |
MutableBooleanIterator |
booleanIterator()
Returns a primitive iterator that can be used to iterate over the BooleanIterable in an
imperative style.
|
void |
clear() |
<V> MutableCollection<V> |
collect(BooleanToObjectFunction<? extends V> function)
Returns a new collection with the results of applying the specified function on each element of the source
collection.
|
boolean |
getIfAbsentPut(K key,
boolean value) |
boolean |
getIfAbsentPut(K key,
BooleanFunction0 function) |
<P> boolean |
getIfAbsentPutWith(K key,
BooleanFunction<? super P> function,
P parameter) |
boolean |
getIfAbsentPutWithKey(K key,
BooleanFunction<? super K> function) |
void |
put(K key,
boolean value) |
void |
putAll(ObjectBooleanMap<? extends K> map) |
MutableBooleanCollection |
reject(BooleanPredicate predicate)
Returns a new BooleanIterable with all of the elements in the BooleanIterable that
return false for the specified predicate.
|
MutableObjectBooleanMap<K> |
reject(ObjectBooleanPredicate<? super K> predicate) |
void |
remove(Object key) |
void |
removeKey(K key) |
boolean |
removeKeyIfAbsent(K key,
boolean value) |
MutableBooleanCollection |
select(BooleanPredicate predicate)
Returns a new BooleanIterable with all of the elements in the BooleanIterable that
return true for the specified predicate.
|
MutableObjectBooleanMap<K> |
select(ObjectBooleanPredicate<? super K> predicate) |
default MutableObjectBooleanMap<K> |
tap(BooleanProcedure procedure) |
boolean |
updateValue(K key,
boolean initialValueIfAbsent,
BooleanToBooleanFunction function) |
MutableObjectBooleanMap<K> |
withKeyValue(K key,
boolean value) |
MutableObjectBooleanMap<K> |
withoutAllKeys(Iterable<? extends K> keys) |
MutableObjectBooleanMap<K> |
withoutKey(K key) |
containsKey, containsValue, forEachKey, forEachKeyValue, forEachValue, get, getIfAbsent, getOrThrow, keySet, keysView, keyValuesView, toImmutable, toString, valuesallSatisfy, anySatisfy, asLazy, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, each, flatCollect, forEach, injectInto, noneSatisfy, reject, select, toArray, toBag, toList, toSetappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, sizeMutableBooleanIterator booleanIterator()
BooleanIterablebooleanIterator in interface BooleanIterablevoid clear()
void put(K key, boolean value)
void putAll(ObjectBooleanMap<? extends K> map)
void removeKey(K key)
void remove(Object key)
boolean removeKeyIfAbsent(K key, boolean value)
boolean getIfAbsentPut(K key, boolean value)
boolean getIfAbsentPut(K key, BooleanFunction0 function)
boolean getIfAbsentPutWithKey(K key, BooleanFunction<? super K> function)
<P> boolean getIfAbsentPutWith(K key, BooleanFunction<? super P> function, P parameter)
boolean updateValue(K key, boolean initialValueIfAbsent, BooleanToBooleanFunction function)
MutableObjectBooleanMap<K> select(ObjectBooleanPredicate<? super K> predicate)
select in interface ObjectBooleanMap<K>MutableObjectBooleanMap<K> reject(ObjectBooleanPredicate<? super K> predicate)
reject in interface ObjectBooleanMap<K>MutableBooleanCollection select(BooleanPredicate predicate)
BooleanIterableselect in interface BooleanIterableMutableBooleanCollection reject(BooleanPredicate predicate)
BooleanIterablereject in interface BooleanIterabledefault MutableObjectBooleanMap<K> tap(BooleanProcedure procedure)
tap in interface BooleanIterabletap in interface ObjectBooleanMap<K><V> MutableCollection<V> collect(BooleanToObjectFunction<? extends V> function)
BooleanIterablecollect in interface BooleanIterableMutableObjectBooleanMap<K> withKeyValue(K key, boolean value)
MutableObjectBooleanMap<K> withoutKey(K key)
MutableObjectBooleanMap<K> withoutAllKeys(Iterable<? extends K> keys)
MutableObjectBooleanMap<K> asUnmodifiable()
MutableObjectBooleanMap<K> asSynchronized()
Copyright © 2004–2017. All rights reserved.