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