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