| 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 |
|---|---|
MutableByteByteMap |
MutableByteByteMapFactory.empty() |
<T> MutableByteByteMap |
MutableByteByteMapFactory.from(Iterable<T> iterable,
ByteFunction<? super T> keyFunction,
ByteFunction<? super T> valueFunction)
Creates an
MutableByteByteMap from an Iterable<T> by applying keyFunction and valueFunction. |
MutableByteByteMap |
MutableByteByteMapFactory.of()
Same as
MutableByteByteMapFactory.empty(). |
default MutableByteByteMap |
MutableByteByteMapFactory.of(byte key,
byte value) |
default MutableByteByteMap |
MutableByteByteMapFactory.of(byte key1,
byte value1,
byte key2,
byte value2) |
default MutableByteByteMap |
MutableByteByteMapFactory.of(byte key1,
byte value1,
byte key2,
byte value2,
byte key3,
byte value3) |
default MutableByteByteMap |
MutableByteByteMapFactory.of(byte key1,
byte value1,
byte key2,
byte value2,
byte key3,
byte value3,
byte key4,
byte value4) |
MutableByteByteMap |
MutableByteByteMapFactory.ofAll(ByteByteMap map)
|
MutableByteByteMap |
MutableByteByteMapFactory.ofInitialCapacity(int capacity)
Same as
MutableByteByteMapFactory.empty(). |
MutableByteByteMap |
MutableByteByteMapFactory.with()
Same as
MutableByteByteMapFactory.empty(). |
default MutableByteByteMap |
MutableByteByteMapFactory.with(byte key,
byte value) |
default MutableByteByteMap |
MutableByteByteMapFactory.with(byte key1,
byte value1,
byte key2,
byte value2) |
default MutableByteByteMap |
MutableByteByteMapFactory.with(byte key1,
byte value1,
byte key2,
byte value2,
byte key3,
byte value3) |
default MutableByteByteMap |
MutableByteByteMapFactory.with(byte key1,
byte value1,
byte key2,
byte value2,
byte key3,
byte value3,
byte key4,
byte value4) |
MutableByteByteMap |
MutableByteByteMapFactory.withAll(ByteByteMap map) |
MutableByteByteMap |
MutableByteByteMapFactory.withInitialCapacity(int capacity)
Same as
MutableByteByteMapFactory.empty(). |
| Modifier and Type | Method and Description |
|---|---|
MutableByteByteMap |
MutableByteByteMap.asSynchronized()
Returns a synchronized view of this map, delegating all operations to this map but
ensuring only one caller has access to the map at a time.
|
MutableByteByteMap |
MutableByteByteMap.asUnmodifiable()
Returns an unmodifiable view of this map, delegating all read-only operations to this
map and throwing an
UnsupportedOperationException for all mutating operations. |
MutableByteByteMap |
MutableByteByteMap.flipUniqueValues() |
MutableByteByteMap |
MutableByteByteMap.reject(ByteBytePredicate predicate) |
MutableByteByteMap |
MutableByteByteMap.select(ByteBytePredicate predicate) |
default MutableByteByteMap |
MutableByteByteMap.withAllKeyValues(Iterable<ByteBytePair> keyValuePairs)
Puts all of the key/value mappings from the specified pairs into this map.
|
MutableByteByteMap |
MutableByteByteMap.withKeyValue(byte key,
byte value)
Associates a value with the specified key.
|
MutableByteByteMap |
MutableByteByteMap.withoutAllKeys(ByteIterable keys)
Removes the mappings associated with all the keys, if they exist, from this map.
|
MutableByteByteMap |
MutableByteByteMap.withoutKey(byte key)
Removes the mapping associated with the key, if one exists, from this map.
|
Copyright © 2004–2022. All rights reserved.