| 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> MutableObjectByteMap<K> |
MutableObjectByteMapFactory.empty() |
<K> MutableObjectByteMap<K> |
MutableObjectByteHashingStrategyMapFactory.empty(HashingStrategy<? super K> hashingStrategy) |
<T,K> MutableObjectByteMap<K> |
MutableObjectByteMapFactory.from(Iterable<T> iterable,
Function<? super T,? extends K> keyFunction,
ByteFunction<? super T> valueFunction)
Creates an
MutableObjectByteMap from an Iterable<T> by applying keyFunction and valueFunction. |
<K> MutableObjectByteMap<K> |
MutableObjectByteMapFactory.of()
Same as
MutableObjectByteMapFactory.empty(). |
<K> MutableObjectByteMap<K> |
MutableObjectByteHashingStrategyMapFactory.of(HashingStrategy<? super K> hashingStrategy)
Same as
#empty(). |
default <K> MutableObjectByteMap<K> |
MutableObjectByteMapFactory.of(K key,
byte value) |
default <K> MutableObjectByteMap<K> |
MutableObjectByteMapFactory.of(K key1,
byte value1,
K key2,
byte value2) |
default <K> MutableObjectByteMap<K> |
MutableObjectByteMapFactory.of(K key1,
byte value1,
K key2,
byte value2,
K key3,
byte value3) |
default <K> MutableObjectByteMap<K> |
MutableObjectByteMapFactory.of(K key1,
byte value1,
K key2,
byte value2,
K key3,
byte value3,
K key4,
byte value4) |
<K> MutableObjectByteMap<K> |
MutableObjectByteMapFactory.ofAll(ObjectByteMap<? extends K> map)
|
<K> MutableObjectByteMap<K> |
MutableObjectByteMapFactory.ofInitialCapacity(int capacity)
Same as
MutableObjectByteMapFactory.empty(). |
<K> MutableObjectByteMap<K> |
MutableObjectByteMapFactory.with()
Same as
MutableObjectByteMapFactory.empty(). |
<K> MutableObjectByteMap<K> |
MutableObjectByteHashingStrategyMapFactory.with(HashingStrategy<? super K> hashingStrategy)
Same as
#empty(). |
default <K> MutableObjectByteMap<K> |
MutableObjectByteMapFactory.with(K key,
byte value) |
default <K> MutableObjectByteMap<K> |
MutableObjectByteMapFactory.with(K key1,
byte value1,
K key2,
byte value2) |
default <K> MutableObjectByteMap<K> |
MutableObjectByteMapFactory.with(K key1,
byte value1,
K key2,
byte value2,
K key3,
byte value3) |
default <K> MutableObjectByteMap<K> |
MutableObjectByteMapFactory.with(K key1,
byte value1,
K key2,
byte value2,
K key3,
byte value3,
K key4,
byte value4) |
<K> MutableObjectByteMap<K> |
MutableObjectByteMapFactory.withAll(ObjectByteMap<? extends K> map) |
<K> MutableObjectByteMap<K> |
MutableObjectByteHashingStrategyMapFactory.withInitialCapacity(HashingStrategy<? super K> hashingStrategy,
int initialCapacity)
Same as
#empty() but takes in an initial capacity |
<K> MutableObjectByteMap<K> |
MutableObjectByteMapFactory.withInitialCapacity(int capacity)
Same as
MutableObjectByteMapFactory.empty(). |
| Modifier and Type | Method and Description |
|---|---|
MutableObjectByteMap<K> |
MutableObjectByteMap.asSynchronized() |
MutableObjectByteMap<K> |
MutableObjectByteMap.asUnmodifiable() |
MutableObjectByteMap<V> |
MutableByteObjectMap.flipUniqueValues() |
MutableObjectByteMap<K> |
MutableObjectByteMap.reject(ObjectBytePredicate<? super K> predicate) |
MutableObjectByteMap<K> |
MutableObjectByteMap.select(ObjectBytePredicate<? super K> predicate) |
default MutableObjectByteMap<K> |
MutableObjectByteMap.tap(ByteProcedure procedure) |
default MutableObjectByteMap<K> |
MutableObjectByteMap.withAllKeyValues(Iterable<ObjectBytePair<K>> keyValuePairs) |
MutableObjectByteMap<K> |
MutableObjectByteMap.withKeyValue(K key,
byte value)
Associates a value with the specified key.
|
MutableObjectByteMap<K> |
MutableObjectByteMap.withoutAllKeys(Iterable<? extends K> keys)
Removes the mappings associated with all the keys, if they exist, from this map.
|
MutableObjectByteMap<K> |
MutableObjectByteMap.withoutKey(K key)
Removes the mapping associated with the key, if one exists, from this map.
|
Copyright © 2004–2022. All rights reserved.