| 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 |
|---|---|
ImmutableCharByteMap |
ImmutableCharByteMapFactory.empty() |
<T> ImmutableCharByteMap |
ImmutableCharByteMapFactory.from(Iterable<T> iterable,
CharFunction<? super T> keyFunction,
ByteFunction<? super T> valueFunction)
Creates an
ImmutableCharByteMap from an Iterable<T> by applying keyFunction and valueFunction. |
ImmutableCharByteMap |
ImmutableCharByteMapFactory.of()
Same as
ImmutableCharByteMapFactory.empty(). |
ImmutableCharByteMap |
ImmutableCharByteMapFactory.of(char key,
byte value)
|
ImmutableCharByteMap |
ImmutableCharByteMapFactory.ofAll(CharByteMap map)
|
ImmutableCharByteMap |
ImmutableCharByteMapFactory.with()
Same as
ImmutableCharByteMapFactory.empty(). |
ImmutableCharByteMap |
ImmutableCharByteMapFactory.with(char key,
byte value) |
ImmutableCharByteMap |
ImmutableCharByteMapFactory.withAll(CharByteMap map) |
| Modifier and Type | Method and Description |
|---|---|
ImmutableCharByteMap |
ImmutableByteCharMap.flipUniqueValues() |
ImmutableCharByteMap |
ImmutableCharByteMap.newWithKeyValue(char key,
byte 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. |
ImmutableCharByteMap |
ImmutableCharByteMap.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.
|
ImmutableCharByteMap |
ImmutableCharByteMap.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.
|
ImmutableCharByteMap |
ImmutableCharByteMap.reject(CharBytePredicate predicate) |
ImmutableCharByteMap |
ImmutableCharByteMap.select(CharBytePredicate predicate) |
ImmutableCharByteMap |
CharByteMap.toImmutable()
Returns a copy of this map that is immutable (if this map is mutable) or
itself if it is already immutable.
|
Copyright © 2004–2022. All rights reserved.