| 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 |
|---|---|
ImmutableDoubleShortMap |
ImmutableDoubleShortMapFactory.empty() |
<T> ImmutableDoubleShortMap |
ImmutableDoubleShortMapFactory.from(Iterable<T> iterable,
DoubleFunction<? super T> keyFunction,
ShortFunction<? super T> valueFunction)
Creates an
ImmutableDoubleShortMap from an Iterable<T> by applying keyFunction and valueFunction. |
ImmutableDoubleShortMap |
ImmutableDoubleShortMapFactory.of()
|
ImmutableDoubleShortMap |
ImmutableDoubleShortMapFactory.of(double key,
short value)
|
ImmutableDoubleShortMap |
ImmutableDoubleShortMapFactory.ofAll(DoubleShortMap map)
|
ImmutableDoubleShortMap |
ImmutableDoubleShortMapFactory.with()
|
ImmutableDoubleShortMap |
ImmutableDoubleShortMapFactory.with(double key,
short value) |
ImmutableDoubleShortMap |
ImmutableDoubleShortMapFactory.withAll(DoubleShortMap map) |
| Modifier and Type | Method and Description |
|---|---|
ImmutableDoubleShortMap |
ImmutableShortDoubleMap.flipUniqueValues() |
ImmutableDoubleShortMap |
ImmutableDoubleShortMap.newWithKeyValue(double key,
short 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. |
ImmutableDoubleShortMap |
ImmutableDoubleShortMap.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.
|
ImmutableDoubleShortMap |
ImmutableDoubleShortMap.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.
|
ImmutableDoubleShortMap |
ImmutableDoubleShortMap.reject(DoubleShortPredicate predicate) |
ImmutableDoubleShortMap |
ImmutableDoubleShortMap.select(DoubleShortPredicate predicate) |
ImmutableDoubleShortMap |
DoubleShortMap.toImmutable()
Returns a copy of this map that is immutable (if this map is mutable) or
itself if it is already immutable.
|
Copyright © 2004–2021. All rights reserved.