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