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