| 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 |
|---|---|
<K> ImmutableObjectByteMap<K> |
ImmutableObjectByteMapFactory.empty() |
<T,K> ImmutableObjectByteMap<K> |
ImmutableObjectByteMapFactory.from(Iterable<T> iterable,
Function<? super T,? extends K> keyFunction,
ByteFunction<? super T> valueFunction)
Creates an
ImmutableObjectByteMap from an Iterable<T> by applying keyFunction and valueFunction. |
<K> ImmutableObjectByteMap<K> |
ImmutableObjectByteMapFactory.of()
|
<K> ImmutableObjectByteMap<K> |
ImmutableObjectByteMapFactory.of(K key,
byte value)
|
<K> ImmutableObjectByteMap<K> |
ImmutableObjectByteMapFactory.ofAll(ObjectByteMap<? extends K> map)
|
<K> ImmutableObjectByteMap<K> |
ImmutableObjectByteMapFactory.with()
|
<K> ImmutableObjectByteMap<K> |
ImmutableObjectByteMapFactory.with(K key,
byte value) |
<K> ImmutableObjectByteMap<K> |
ImmutableObjectByteMapFactory.withAll(ObjectByteMap<? extends K> map) |
| Modifier and Type | Method and Description |
|---|---|
ImmutableObjectByteMap<V> |
ImmutableByteObjectMap.flipUniqueValues() |
ImmutableObjectByteMap<K> |
ImmutableObjectByteMap.newWithKeyValue(K 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. |
ImmutableObjectByteMap<K> |
ImmutableObjectByteMap.newWithoutAllKeys(Iterable<? extends K> keys)
Copy this map, remove any associated values with the specified keys (if any exist),
and return the copy as a new immutable map.
|
ImmutableObjectByteMap<K> |
ImmutableObjectByteMap.newWithoutKey(K key)
Copy this map, remove any associated value with the key (if one exists), and
return the copy as a new immutable map.
|
ImmutableObjectByteMap<K> |
ImmutableObjectByteMap.reject(ObjectBytePredicate<? super K> predicate) |
ImmutableObjectByteMap<K> |
ImmutableObjectByteMap.select(ObjectBytePredicate<? super K> predicate) |
default ImmutableObjectByteMap<K> |
ImmutableObjectByteMap.tap(ByteProcedure procedure) |
ImmutableObjectByteMap<K> |
ObjectByteMap.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.