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