| 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> ImmutableFloatObjectMap<V> |
ImmutableFloatObjectMapFactory.empty() |
<T,V> ImmutableFloatObjectMap<V> |
ImmutableFloatObjectMapFactory.from(Iterable<T> iterable,
FloatFunction<? super T> keyFunction,
Function<? super T,? extends V> valueFunction)
Creates an
ImmutableFloatObjectMap from an Iterable<T> by applying keyFunction and valueFunction. |
<V> ImmutableFloatObjectMap<V> |
ImmutableFloatObjectMapFactory.of()
|
<V> ImmutableFloatObjectMap<V> |
ImmutableFloatObjectMapFactory.of(float key,
V value)
|
<V> ImmutableFloatObjectMap<V> |
ImmutableFloatObjectMapFactory.ofAll(FloatObjectMap<? extends V> map)
|
<V> ImmutableFloatObjectMap<V> |
ImmutableFloatObjectMapFactory.with()
|
<V> ImmutableFloatObjectMap<V> |
ImmutableFloatObjectMapFactory.with(float key,
V value) |
<V> ImmutableFloatObjectMap<V> |
ImmutableFloatObjectMapFactory.withAll(FloatObjectMap<? extends V> map) |
| Modifier and Type | Method and Description |
|---|---|
ImmutableFloatObjectMap<K> |
ImmutableObjectFloatMap.flipUniqueValues() |
ImmutableFloatObjectMap<V> |
ImmutableFloatObjectMap.newWithKeyValue(float key,
V value)
Copy this map, associate the value with the key (replacing the value if one
already exists for
key), and return the copy as new immutable map. |
ImmutableFloatObjectMap<V> |
ImmutableFloatObjectMap.newWithoutAllKeys(FloatIterable keys)
Copy this map, remove any associated values with the specified keys (if any exist),
and return the copy as a new immutable map.
|
ImmutableFloatObjectMap<V> |
ImmutableFloatObjectMap.newWithoutKey(float key)
Copy this map, remove any associated value with the key (if one exists), and
return the copy as a new immutable map.
|
ImmutableFloatObjectMap<V> |
ImmutableFloatObjectMap.reject(FloatObjectPredicate<? super V> predicate) |
ImmutableFloatObjectMap<V> |
ImmutableFloatObjectMap.select(FloatObjectPredicate<? super V> predicate) |
ImmutableFloatObjectMap<V> |
ImmutableFloatObjectMap.tap(Procedure<? super V> procedure) |
ImmutableFloatObjectMap<V> |
FloatObjectMap.toImmutable()
Returns a copy of this map that is immutable (if this map is mutable) or
itself if it is already immutable.
|
Copyright © 2004–2022. All rights reserved.