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