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