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