| 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 |
|---|---|
<V> ImmutableByteObjectMap<V> |
ImmutableByteObjectMapFactory.empty() |
<T,V> ImmutableByteObjectMap<V> |
ImmutableByteObjectMapFactory.from(Iterable<T> iterable,
ByteFunction<? super T> keyFunction,
Function<? super T,? extends V> valueFunction)
Creates an
ImmutableByteObjectMap from an Iterable<T> by applying keyFunction and valueFunction. |
<V> ImmutableByteObjectMap<V> |
ImmutableByteObjectMapFactory.of()
|
<V> ImmutableByteObjectMap<V> |
ImmutableByteObjectMapFactory.of(byte key,
V value)
|
<V> ImmutableByteObjectMap<V> |
ImmutableByteObjectMapFactory.ofAll(ByteObjectMap<? extends V> map)
|
<V> ImmutableByteObjectMap<V> |
ImmutableByteObjectMapFactory.with()
|
<V> ImmutableByteObjectMap<V> |
ImmutableByteObjectMapFactory.with(byte key,
V value) |
<V> ImmutableByteObjectMap<V> |
ImmutableByteObjectMapFactory.withAll(ByteObjectMap<? extends V> map) |
| Modifier and Type | Method and Description |
|---|---|
ImmutableByteObjectMap<K> |
ImmutableObjectByteMap.flipUniqueValues() |
ImmutableByteObjectMap<V> |
ImmutableByteObjectMap.newWithKeyValue(byte key,
V 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. |
ImmutableByteObjectMap<V> |
ImmutableByteObjectMap.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.
|
ImmutableByteObjectMap<V> |
ImmutableByteObjectMap.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.
|
ImmutableByteObjectMap<V> |
ImmutableByteObjectMap.reject(ByteObjectPredicate<? super V> predicate) |
ImmutableByteObjectMap<V> |
ImmutableByteObjectMap.select(ByteObjectPredicate<? super V> predicate) |
ImmutableByteObjectMap<V> |
ImmutableByteObjectMap.tap(Procedure<? super V> procedure) |
ImmutableByteObjectMap<V> |
ByteObjectMap.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.