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