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