| 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 |
|---|---|
ImmutableLongLongMap |
ImmutableLongLongMapFactory.empty() |
<T> ImmutableLongLongMap |
ImmutableLongLongMapFactory.from(Iterable<T> iterable,
LongFunction<? super T> keyFunction,
LongFunction<? super T> valueFunction)
Creates an
ImmutableLongLongMap from an Iterable<T> by applying keyFunction and valueFunction. |
ImmutableLongLongMap |
ImmutableLongLongMapFactory.of()
Same as
ImmutableLongLongMapFactory.empty(). |
ImmutableLongLongMap |
ImmutableLongLongMapFactory.of(long key,
long value)
|
ImmutableLongLongMap |
ImmutableLongLongMapFactory.ofAll(LongLongMap map)
|
ImmutableLongLongMap |
ImmutableLongLongMapFactory.with()
Same as
ImmutableLongLongMapFactory.empty(). |
ImmutableLongLongMap |
ImmutableLongLongMapFactory.with(long key,
long value) |
ImmutableLongLongMap |
ImmutableLongLongMapFactory.withAll(LongLongMap map) |
| Modifier and Type | Method and Description |
|---|---|
ImmutableLongLongMap |
ImmutableLongLongMap.flipUniqueValues() |
ImmutableLongLongMap |
ImmutableLongLongMap.newWithKeyValue(long 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. |
ImmutableLongLongMap |
ImmutableLongLongMap.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.
|
ImmutableLongLongMap |
ImmutableLongLongMap.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.
|
ImmutableLongLongMap |
ImmutableLongLongMap.reject(LongLongPredicate predicate) |
ImmutableLongLongMap |
ImmutableLongLongMap.select(LongLongPredicate predicate) |
ImmutableLongLongMap |
LongLongMap.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.