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