| 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 |
|---|---|
ImmutableCharLongMap |
ImmutableCharLongMapFactory.empty() |
<T> ImmutableCharLongMap |
ImmutableCharLongMapFactory.from(Iterable<T> iterable,
CharFunction<? super T> keyFunction,
LongFunction<? super T> valueFunction)
Creates an
ImmutableCharLongMap from an Iterable<T> by applying keyFunction and valueFunction. |
ImmutableCharLongMap |
ImmutableCharLongMapFactory.of()
Same as
ImmutableCharLongMapFactory.empty(). |
ImmutableCharLongMap |
ImmutableCharLongMapFactory.of(char key,
long value)
|
ImmutableCharLongMap |
ImmutableCharLongMapFactory.ofAll(CharLongMap map)
|
ImmutableCharLongMap |
ImmutableCharLongMapFactory.with()
Same as
ImmutableCharLongMapFactory.empty(). |
ImmutableCharLongMap |
ImmutableCharLongMapFactory.with(char key,
long value) |
ImmutableCharLongMap |
ImmutableCharLongMapFactory.withAll(CharLongMap map) |
| Modifier and Type | Method and Description |
|---|---|
ImmutableCharLongMap |
ImmutableLongCharMap.flipUniqueValues() |
ImmutableCharLongMap |
ImmutableCharLongMap.newWithKeyValue(char key,
long 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. |
ImmutableCharLongMap |
ImmutableCharLongMap.newWithoutAllKeys(CharIterable keys)
Copy this map, remove any associated values with the specified keys (if any exist),
and return the copy as a new immutable map.
|
ImmutableCharLongMap |
ImmutableCharLongMap.newWithoutKey(char key)
Copy this map, remove any associated value with the key (if one exists), and
return the copy as a new immutable map.
|
ImmutableCharLongMap |
ImmutableCharLongMap.reject(CharLongPredicate predicate) |
ImmutableCharLongMap |
ImmutableCharLongMap.select(CharLongPredicate predicate) |
ImmutableCharLongMap |
CharLongMap.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.