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