| Package | Description |
|---|---|
| org.eclipse.collections.api.factory.map.primitive | |
| org.eclipse.collections.api.map.primitive |
This package contains API for primitive to primitive maps, primitive to object maps and object to primitive maps with mutable and immutable variants.
|
| Modifier and Type | Method and Description |
|---|---|
<K> MutableObjectBooleanMap<K> |
MutableObjectBooleanMapFactory.empty() |
<K> MutableObjectBooleanMap<K> |
MutableObjectBooleanHashingStrategyMapFactory.empty(HashingStrategy<? super K> hashingStrategy) |
<T,K> MutableObjectBooleanMap<K> |
MutableObjectBooleanMapFactory.from(Iterable<T> iterable,
Function<? super T,? extends K> keyFunction,
BooleanFunction<? super T> valueFunction)
Creates an
MutableObjectBooleanMap from an Iterable<T> by applying keyFunction and valueFunction. |
<K> MutableObjectBooleanMap<K> |
MutableObjectBooleanMapFactory.of()
|
<K> MutableObjectBooleanMap<K> |
MutableObjectBooleanHashingStrategyMapFactory.of(HashingStrategy<? super K> hashingStrategy)
Same as
#empty(). |
default <K> MutableObjectBooleanMap<K> |
MutableObjectBooleanMapFactory.of(K key,
boolean value) |
default <K> MutableObjectBooleanMap<K> |
MutableObjectBooleanMapFactory.of(K key1,
boolean value1,
K key2,
boolean value2) |
default <K> MutableObjectBooleanMap<K> |
MutableObjectBooleanMapFactory.of(K key1,
boolean value1,
K key2,
boolean value2,
K key3,
boolean value3) |
default <K> MutableObjectBooleanMap<K> |
MutableObjectBooleanMapFactory.of(K key1,
boolean value1,
K key2,
boolean value2,
K key3,
boolean value3,
K key4,
boolean value4) |
<K> MutableObjectBooleanMap<K> |
MutableObjectBooleanMapFactory.ofAll(ObjectBooleanMap<? extends K> map)
|
<K> MutableObjectBooleanMap<K> |
MutableObjectBooleanMapFactory.ofInitialCapacity(int capacity)
|
<K> MutableObjectBooleanMap<K> |
MutableObjectBooleanMapFactory.with()
|
<K> MutableObjectBooleanMap<K> |
MutableObjectBooleanHashingStrategyMapFactory.with(HashingStrategy<? super K> hashingStrategy)
Same as
#empty(). |
default <K> MutableObjectBooleanMap<K> |
MutableObjectBooleanMapFactory.with(K key,
boolean value) |
default <K> MutableObjectBooleanMap<K> |
MutableObjectBooleanMapFactory.with(K key1,
boolean value1,
K key2,
boolean value2) |
default <K> MutableObjectBooleanMap<K> |
MutableObjectBooleanMapFactory.with(K key1,
boolean value1,
K key2,
boolean value2,
K key3,
boolean value3) |
default <K> MutableObjectBooleanMap<K> |
MutableObjectBooleanMapFactory.with(K key1,
boolean value1,
K key2,
boolean value2,
K key3,
boolean value3,
K key4,
boolean value4) |
<K> MutableObjectBooleanMap<K> |
MutableObjectBooleanMapFactory.withAll(ObjectBooleanMap<? extends K> map) |
<K> MutableObjectBooleanMap<K> |
MutableObjectBooleanHashingStrategyMapFactory.withInitialCapacity(HashingStrategy<? super K> hashingStrategy,
int initialCapacity)
Same as
#empty() but takes in an initial capacity |
<K> MutableObjectBooleanMap<K> |
MutableObjectBooleanMapFactory.withInitialCapacity(int capacity)
|
| Modifier and Type | Method and Description |
|---|---|
MutableObjectBooleanMap<K> |
MutableObjectBooleanMap.asSynchronized() |
MutableObjectBooleanMap<K> |
MutableObjectBooleanMap.asUnmodifiable() |
MutableObjectBooleanMap<K> |
MutableObjectBooleanMap.reject(ObjectBooleanPredicate<? super K> predicate) |
MutableObjectBooleanMap<K> |
MutableObjectBooleanMap.select(ObjectBooleanPredicate<? super K> predicate) |
default MutableObjectBooleanMap<K> |
MutableObjectBooleanMap.tap(BooleanProcedure procedure) |
default MutableObjectBooleanMap<K> |
MutableObjectBooleanMap.withAllKeyValues(Iterable<ObjectBooleanPair<K>> keyValuePairs) |
MutableObjectBooleanMap<K> |
MutableObjectBooleanMap.withKeyValue(K key,
boolean value)
Associates a value with the specified key.
|
MutableObjectBooleanMap<K> |
MutableObjectBooleanMap.withoutAllKeys(Iterable<? extends K> keys)
Removes the mappings associated with all the keys, if they exist, from this map.
|
MutableObjectBooleanMap<K> |
MutableObjectBooleanMap.withoutKey(K key)
Removes the mapping associated with the key, if one exists, from this map.
|
Copyright © 2004–2022. All rights reserved.