| 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 |
|---|---|
ImmutableDoubleFloatMap |
ImmutableDoubleFloatMapFactory.empty() |
<T> ImmutableDoubleFloatMap |
ImmutableDoubleFloatMapFactory.from(Iterable<T> iterable,
DoubleFunction<? super T> keyFunction,
FloatFunction<? super T> valueFunction)
Creates an
ImmutableDoubleFloatMap from an Iterable<T> by applying keyFunction and valueFunction. |
ImmutableDoubleFloatMap |
ImmutableDoubleFloatMapFactory.of()
|
ImmutableDoubleFloatMap |
ImmutableDoubleFloatMapFactory.of(double key,
float value)
|
ImmutableDoubleFloatMap |
ImmutableDoubleFloatMapFactory.ofAll(DoubleFloatMap map)
|
ImmutableDoubleFloatMap |
ImmutableDoubleFloatMapFactory.with()
|
ImmutableDoubleFloatMap |
ImmutableDoubleFloatMapFactory.with(double key,
float value) |
ImmutableDoubleFloatMap |
ImmutableDoubleFloatMapFactory.withAll(DoubleFloatMap map) |
| Modifier and Type | Method and Description |
|---|---|
ImmutableDoubleFloatMap |
ImmutableFloatDoubleMap.flipUniqueValues() |
ImmutableDoubleFloatMap |
ImmutableDoubleFloatMap.newWithKeyValue(double key,
float 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. |
ImmutableDoubleFloatMap |
ImmutableDoubleFloatMap.newWithoutAllKeys(DoubleIterable keys)
Copy this map, remove any associated values with the specified keys (if any exist),
and return the copy as a new immutable map.
|
ImmutableDoubleFloatMap |
ImmutableDoubleFloatMap.newWithoutKey(double key)
Copy this map, remove any associated value with the key (if one exists), and
return the copy as a new immutable map.
|
ImmutableDoubleFloatMap |
ImmutableDoubleFloatMap.reject(DoubleFloatPredicate predicate) |
ImmutableDoubleFloatMap |
ImmutableDoubleFloatMap.select(DoubleFloatPredicate predicate) |
ImmutableDoubleFloatMap |
DoubleFloatMap.toImmutable()
Returns a copy of this map that is immutable (if this map is mutable) or
itself if it is already immutable.
|
Copyright © 2004–2020. All rights reserved.