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