| 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 |
|---|---|
MutableCharBooleanMap |
MutableCharBooleanMapFactory.empty() |
<T> MutableCharBooleanMap |
MutableCharBooleanMapFactory.from(Iterable<T> iterable,
CharFunction<? super T> keyFunction,
BooleanFunction<? super T> valueFunction)
Creates an
MutableCharBooleanMap from an Iterable<T> by applying keyFunction and valueFunction. |
MutableCharBooleanMap |
MutableCharBooleanMapFactory.of()
Same as
MutableCharBooleanMapFactory.empty(). |
default MutableCharBooleanMap |
MutableCharBooleanMapFactory.of(char key,
boolean value) |
default MutableCharBooleanMap |
MutableCharBooleanMapFactory.of(char key1,
boolean value1,
char key2,
boolean value2) |
default MutableCharBooleanMap |
MutableCharBooleanMapFactory.of(char key1,
boolean value1,
char key2,
boolean value2,
char key3,
boolean value3) |
default MutableCharBooleanMap |
MutableCharBooleanMapFactory.of(char key1,
boolean value1,
char key2,
boolean value2,
char key3,
boolean value3,
char key4,
boolean value4) |
MutableCharBooleanMap |
MutableCharBooleanMapFactory.ofAll(CharBooleanMap map)
|
MutableCharBooleanMap |
MutableCharBooleanMapFactory.ofInitialCapacity(int capacity)
Same as
MutableCharBooleanMapFactory.empty(). |
MutableCharBooleanMap |
MutableCharBooleanMapFactory.with()
Same as
MutableCharBooleanMapFactory.empty(). |
default MutableCharBooleanMap |
MutableCharBooleanMapFactory.with(char key,
boolean value) |
default MutableCharBooleanMap |
MutableCharBooleanMapFactory.with(char key1,
boolean value1,
char key2,
boolean value2) |
default MutableCharBooleanMap |
MutableCharBooleanMapFactory.with(char key1,
boolean value1,
char key2,
boolean value2,
char key3,
boolean value3) |
default MutableCharBooleanMap |
MutableCharBooleanMapFactory.with(char key1,
boolean value1,
char key2,
boolean value2,
char key3,
boolean value3,
char key4,
boolean value4) |
MutableCharBooleanMap |
MutableCharBooleanMapFactory.withAll(CharBooleanMap map) |
MutableCharBooleanMap |
MutableCharBooleanMapFactory.withInitialCapacity(int capacity)
Same as
MutableCharBooleanMapFactory.empty(). |
| Modifier and Type | Method and Description |
|---|---|
MutableCharBooleanMap |
MutableCharBooleanMap.asSynchronized()
Returns a synchronized view of this map, delegating all operations to this map but
ensuring only one caller has access to the map at a time.
|
MutableCharBooleanMap |
MutableCharBooleanMap.asUnmodifiable()
Returns an unmodifiable view of this map, delegating all read-only operations to this
map and throwing an
UnsupportedOperationException for all mutating operations. |
MutableCharBooleanMap |
MutableCharBooleanMap.reject(CharBooleanPredicate predicate) |
MutableCharBooleanMap |
MutableCharBooleanMap.select(CharBooleanPredicate predicate) |
default MutableCharBooleanMap |
MutableCharBooleanMap.withAllKeyValues(Iterable<CharBooleanPair> keyValuePairs)
Puts all of the key/value mappings from the specified pairs into this map.
|
MutableCharBooleanMap |
MutableCharBooleanMap.withKeyValue(char key,
boolean value)
Associates a value with the specified key.
|
MutableCharBooleanMap |
MutableCharBooleanMap.withoutAllKeys(CharIterable keys)
Removes the mappings associated with all the keys, if they exist, from this map.
|
MutableCharBooleanMap |
MutableCharBooleanMap.withoutKey(char key)
Removes the mapping associated with the key, if one exists, from this map.
|
Copyright © 2004–2023. All rights reserved.