| Package | Description |
|---|---|
| org.eclipse.collections.api.collection | |
| 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.
|
| org.eclipse.collections.api.stack |
This package contains interfaces for stack API.
|
| Modifier and Type | Method and Description |
|---|---|
<V> ImmutableObjectDoubleMap<V> |
ImmutableCollection.sumByDouble(Function<? super T,? extends V> groupBy,
DoubleFunction<? super T> function) |
<V> ImmutableObjectDoubleMap<V> |
ImmutableCollection.sumByFloat(Function<? super T,? extends V> groupBy,
FloatFunction<? super T> function) |
| Modifier and Type | Method and Description |
|---|---|
<K> ImmutableObjectDoubleMap<K> |
ImmutableObjectDoubleMapFactory.empty() |
<T,K> ImmutableObjectDoubleMap<K> |
ImmutableObjectDoubleMapFactory.from(Iterable<T> iterable,
Function<? super T,? extends K> keyFunction,
DoubleFunction<? super T> valueFunction)
Creates an
ImmutableObjectDoubleMap from an Iterable<T> by applying keyFunction and valueFunction. |
<K> ImmutableObjectDoubleMap<K> |
ImmutableObjectDoubleMapFactory.of()
|
<K> ImmutableObjectDoubleMap<K> |
ImmutableObjectDoubleMapFactory.of(K key,
double value)
|
<K> ImmutableObjectDoubleMap<K> |
ImmutableObjectDoubleMapFactory.ofAll(ObjectDoubleMap<? extends K> map)
|
<K> ImmutableObjectDoubleMap<K> |
ImmutableObjectDoubleMapFactory.with()
|
<K> ImmutableObjectDoubleMap<K> |
ImmutableObjectDoubleMapFactory.with(K key,
double value) |
<K> ImmutableObjectDoubleMap<K> |
ImmutableObjectDoubleMapFactory.withAll(ObjectDoubleMap<? extends K> map) |
| Modifier and Type | Method and Description |
|---|---|
ImmutableObjectDoubleMap<V> |
ImmutableDoubleObjectMap.flipUniqueValues() |
ImmutableObjectDoubleMap<K> |
ImmutableObjectDoubleMap.newWithKeyValue(K key,
double 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. |
ImmutableObjectDoubleMap<K> |
ImmutableObjectDoubleMap.newWithoutAllKeys(Iterable<? extends K> keys)
Copy this map, remove any associated values with the specified keys (if any exist),
and return the copy as a new immutable map.
|
ImmutableObjectDoubleMap<K> |
ImmutableObjectDoubleMap.newWithoutKey(K key)
Copy this map, remove any associated value with the key (if one exists), and
return the copy as a new immutable map.
|
ImmutableObjectDoubleMap<K> |
ImmutableObjectDoubleMap.reject(ObjectDoublePredicate<? super K> predicate) |
ImmutableObjectDoubleMap<K> |
ImmutableObjectDoubleMap.select(ObjectDoublePredicate<? super K> predicate) |
<VV> ImmutableObjectDoubleMap<VV> |
ImmutablePrimitiveObjectMap.sumByDouble(Function<? super V,? extends VV> groupBy,
DoubleFunction<? super V> function) |
<VV> ImmutableObjectDoubleMap<VV> |
ImmutablePrimitiveObjectMap.sumByFloat(Function<? super V,? extends VV> groupBy,
FloatFunction<? super V> function) |
default ImmutableObjectDoubleMap<K> |
ImmutableObjectDoubleMap.tap(DoubleProcedure procedure) |
ImmutableObjectDoubleMap<K> |
ObjectDoubleMap.toImmutable()
Returns a copy of this map that is immutable (if this map is mutable) or
itself if it is already immutable.
|
| Modifier and Type | Method and Description |
|---|---|
<V> ImmutableObjectDoubleMap<V> |
ImmutableStack.sumByDouble(Function<? super T,? extends V> groupBy,
DoubleFunction<? super T> function) |
<V> ImmutableObjectDoubleMap<V> |
ImmutableStack.sumByFloat(Function<? super T,? extends V> groupBy,
FloatFunction<? super T> function) |
Copyright © 2004–2023. All rights reserved.