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