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