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