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