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