| 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 |
|---|---|
<K> MutableObjectFloatMap<K> |
MutableObjectFloatMapFactory.empty() |
<K> MutableObjectFloatMap<K> |
MutableObjectFloatHashingStrategyMapFactory.empty(HashingStrategy<? super K> hashingStrategy) |
<T,K> MutableObjectFloatMap<K> |
MutableObjectFloatMapFactory.from(Iterable<T> iterable,
Function<? super T,? extends K> keyFunction,
FloatFunction<? super T> valueFunction)
Creates an
MutableObjectFloatMap from an Iterable<T> by applying keyFunction and valueFunction. |
<K> MutableObjectFloatMap<K> |
MutableObjectFloatMapFactory.of()
Same as
MutableObjectFloatMapFactory.empty(). |
<K> MutableObjectFloatMap<K> |
MutableObjectFloatHashingStrategyMapFactory.of(HashingStrategy<? super K> hashingStrategy)
Same as
#empty(). |
default <K> MutableObjectFloatMap<K> |
MutableObjectFloatMapFactory.of(K key,
float value) |
default <K> MutableObjectFloatMap<K> |
MutableObjectFloatMapFactory.of(K key1,
float value1,
K key2,
float value2) |
default <K> MutableObjectFloatMap<K> |
MutableObjectFloatMapFactory.of(K key1,
float value1,
K key2,
float value2,
K key3,
float value3) |
default <K> MutableObjectFloatMap<K> |
MutableObjectFloatMapFactory.of(K key1,
float value1,
K key2,
float value2,
K key3,
float value3,
K key4,
float value4) |
<K> MutableObjectFloatMap<K> |
MutableObjectFloatMapFactory.ofAll(ObjectFloatMap<? extends K> map)
|
<K> MutableObjectFloatMap<K> |
MutableObjectFloatMapFactory.ofInitialCapacity(int capacity)
Same as
MutableObjectFloatMapFactory.empty(). |
<K> MutableObjectFloatMap<K> |
MutableObjectFloatMapFactory.with()
Same as
MutableObjectFloatMapFactory.empty(). |
<K> MutableObjectFloatMap<K> |
MutableObjectFloatHashingStrategyMapFactory.with(HashingStrategy<? super K> hashingStrategy)
Same as
#empty(). |
default <K> MutableObjectFloatMap<K> |
MutableObjectFloatMapFactory.with(K key,
float value) |
default <K> MutableObjectFloatMap<K> |
MutableObjectFloatMapFactory.with(K key1,
float value1,
K key2,
float value2) |
default <K> MutableObjectFloatMap<K> |
MutableObjectFloatMapFactory.with(K key1,
float value1,
K key2,
float value2,
K key3,
float value3) |
default <K> MutableObjectFloatMap<K> |
MutableObjectFloatMapFactory.with(K key1,
float value1,
K key2,
float value2,
K key3,
float value3,
K key4,
float value4) |
<K> MutableObjectFloatMap<K> |
MutableObjectFloatMapFactory.withAll(ObjectFloatMap<? extends K> map) |
<K> MutableObjectFloatMap<K> |
MutableObjectFloatHashingStrategyMapFactory.withInitialCapacity(HashingStrategy<? super K> hashingStrategy,
int initialCapacity)
Same as
#empty() but takes in an initial capacity |
<K> MutableObjectFloatMap<K> |
MutableObjectFloatMapFactory.withInitialCapacity(int capacity)
Same as
MutableObjectFloatMapFactory.empty(). |
| Modifier and Type | Method and Description |
|---|---|
MutableObjectFloatMap<K> |
MutableObjectFloatMap.asSynchronized() |
MutableObjectFloatMap<K> |
MutableObjectFloatMap.asUnmodifiable() |
MutableObjectFloatMap<V> |
MutableFloatObjectMap.flipUniqueValues() |
MutableObjectFloatMap<K> |
MutableObjectFloatMap.reject(ObjectFloatPredicate<? super K> predicate) |
MutableObjectFloatMap<K> |
MutableObjectFloatMap.select(ObjectFloatPredicate<? super K> predicate) |
default MutableObjectFloatMap<K> |
MutableObjectFloatMap.tap(FloatProcedure procedure) |
default MutableObjectFloatMap<K> |
MutableObjectFloatMap.withAllKeyValues(Iterable<ObjectFloatPair<K>> keyValuePairs) |
MutableObjectFloatMap<K> |
MutableObjectFloatMap.withKeyValue(K key,
float value)
Associates a value with the specified key.
|
MutableObjectFloatMap<K> |
MutableObjectFloatMap.withoutAllKeys(Iterable<? extends K> keys)
Removes the mappings associated with all the keys, if they exist, from this map.
|
MutableObjectFloatMap<K> |
MutableObjectFloatMap.withoutKey(K key)
Removes the mapping associated with the key, if one exists, from this map.
|
Copyright © 2004–2022. All rights reserved.