| 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> ImmutableDoubleObjectMap<V> |
ImmutableDoubleObjectMapFactory.empty() |
<T,V> ImmutableDoubleObjectMap<V> |
ImmutableDoubleObjectMapFactory.from(Iterable<T> iterable,
DoubleFunction<? super T> keyFunction,
Function<? super T,? extends V> valueFunction)
Creates an
ImmutableDoubleObjectMap from an Iterable<T> by applying keyFunction and valueFunction. |
<V> ImmutableDoubleObjectMap<V> |
ImmutableDoubleObjectMapFactory.of()
|
<V> ImmutableDoubleObjectMap<V> |
ImmutableDoubleObjectMapFactory.of(double key,
V value)
|
<V> ImmutableDoubleObjectMap<V> |
ImmutableDoubleObjectMapFactory.ofAll(DoubleObjectMap<? extends V> map)
|
<V> ImmutableDoubleObjectMap<V> |
ImmutableDoubleObjectMapFactory.with()
|
<V> ImmutableDoubleObjectMap<V> |
ImmutableDoubleObjectMapFactory.with(double key,
V value) |
<V> ImmutableDoubleObjectMap<V> |
ImmutableDoubleObjectMapFactory.withAll(DoubleObjectMap<? extends V> map) |
| Modifier and Type | Method and Description |
|---|---|
ImmutableDoubleObjectMap<K> |
ImmutableObjectDoubleMap.flipUniqueValues() |
ImmutableDoubleObjectMap<V> |
ImmutableDoubleObjectMap.newWithKeyValue(double 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. |
ImmutableDoubleObjectMap<V> |
ImmutableDoubleObjectMap.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.
|
ImmutableDoubleObjectMap<V> |
ImmutableDoubleObjectMap.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.
|
ImmutableDoubleObjectMap<V> |
ImmutableDoubleObjectMap.reject(DoubleObjectPredicate<? super V> predicate) |
ImmutableDoubleObjectMap<V> |
ImmutableDoubleObjectMap.select(DoubleObjectPredicate<? super V> predicate) |
ImmutableDoubleObjectMap<V> |
ImmutableDoubleObjectMap.tap(Procedure<? super V> procedure) |
ImmutableDoubleObjectMap<V> |
DoubleObjectMap.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.