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