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