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