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