| 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 |
|---|---|
ImmutableLongFloatMap |
ImmutableLongFloatMapFactory.empty() |
<T> ImmutableLongFloatMap |
ImmutableLongFloatMapFactory.from(Iterable<T> iterable,
LongFunction<? super T> keyFunction,
FloatFunction<? super T> valueFunction)
Creates an
ImmutableLongFloatMap from an Iterable<T> by applying keyFunction and valueFunction. |
ImmutableLongFloatMap |
ImmutableLongFloatMapFactory.of()
Same as
ImmutableLongFloatMapFactory.empty(). |
ImmutableLongFloatMap |
ImmutableLongFloatMapFactory.of(long key,
float value)
|
ImmutableLongFloatMap |
ImmutableLongFloatMapFactory.ofAll(LongFloatMap map)
|
ImmutableLongFloatMap |
ImmutableLongFloatMapFactory.with()
Same as
ImmutableLongFloatMapFactory.empty(). |
ImmutableLongFloatMap |
ImmutableLongFloatMapFactory.with(long key,
float value) |
ImmutableLongFloatMap |
ImmutableLongFloatMapFactory.withAll(LongFloatMap map) |
| Modifier and Type | Method and Description |
|---|---|
ImmutableLongFloatMap |
ImmutableFloatLongMap.flipUniqueValues() |
ImmutableLongFloatMap |
ImmutableLongFloatMap.newWithKeyValue(long key,
float 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. |
ImmutableLongFloatMap |
ImmutableLongFloatMap.newWithoutAllKeys(LongIterable keys)
Copy this map, remove any associated values with the specified keys (if any exist),
and return the copy as a new immutable map.
|
ImmutableLongFloatMap |
ImmutableLongFloatMap.newWithoutKey(long key)
Copy this map, remove any associated value with the key (if one exists), and
return the copy as a new immutable map.
|
ImmutableLongFloatMap |
ImmutableLongFloatMap.reject(LongFloatPredicate predicate) |
ImmutableLongFloatMap |
ImmutableLongFloatMap.select(LongFloatPredicate predicate) |
ImmutableLongFloatMap |
LongFloatMap.toImmutable()
Returns a copy of this map that is immutable (if this map is mutable) or
itself if it is already immutable.
|
Copyright © 2004–2020. All rights reserved.