BooleanIterable
, ObjectBooleanMap<K>
, PrimitiveIterable
ObjectBooleanHashMap
, ObjectBooleanHashMapWithHashingStrategy
, SynchronizedObjectBooleanMap
, UnmodifiableObjectBooleanMap
public interface MutableObjectBooleanMap<K> extends ObjectBooleanMap<K>
Modifier and Type | Method | 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) |
|
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) |
allSatisfy, 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, toSet
containsKey, containsValue, forEachKey, forEachKeyValue, forEachValue, get, getIfAbsent, getOrThrow, keySet, keysView, keyValuesView, toImmutable, toString, values
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size
MutableBooleanIterator booleanIterator()
BooleanIterable
booleanIterator
in interface BooleanIterable
void 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)
BooleanIterable
select
in interface BooleanIterable
MutableBooleanCollection reject(BooleanPredicate predicate)
BooleanIterable
reject
in interface BooleanIterable
<V> MutableCollection<V> collect(BooleanToObjectFunction<? extends V> function)
BooleanIterable
collect
in interface BooleanIterable
MutableObjectBooleanMap<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.