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