| 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 |
|---|---|
<K> MutableObjectShortMap<K> |
MutableObjectShortMapFactory.empty() |
<T,K> MutableObjectShortMap<K> |
MutableObjectShortMapFactory.from(Iterable<T> iterable,
Function<? super T,? extends K> keyFunction,
ShortFunction<? super T> valueFunction)
Creates an
MutableObjectShortMap from an Iterable<T> by applying keyFunction and valueFunction. |
<K> MutableObjectShortMap<K> |
MutableObjectShortMapFactory.of()
Same as
MutableObjectShortMapFactory.empty(). |
<K> MutableObjectShortMap<K> |
MutableObjectShortMapFactory.ofAll(ObjectShortMap<? extends K> map)
|
<K> MutableObjectShortMap<K> |
MutableObjectShortMapFactory.ofInitialCapacity(int capacity)
Same as
MutableObjectShortMapFactory.empty(). |
<K> MutableObjectShortMap<K> |
MutableObjectShortMapFactory.with()
Same as
MutableObjectShortMapFactory.empty(). |
<K> MutableObjectShortMap<K> |
MutableObjectShortMapFactory.withAll(ObjectShortMap<? extends K> map) |
<K> MutableObjectShortMap<K> |
MutableObjectShortMapFactory.withInitialCapacity(int capacity)
Same as
MutableObjectShortMapFactory.empty(). |
| Modifier and Type | Method and Description |
|---|---|
MutableObjectShortMap<K> |
MutableObjectShortMap.asSynchronized() |
MutableObjectShortMap<K> |
MutableObjectShortMap.asUnmodifiable() |
MutableObjectShortMap<V> |
MutableShortObjectMap.flipUniqueValues() |
MutableObjectShortMap<K> |
MutableObjectShortMap.reject(ObjectShortPredicate<? super K> predicate) |
MutableObjectShortMap<K> |
MutableObjectShortMap.select(ObjectShortPredicate<? super K> predicate) |
default MutableObjectShortMap<K> |
MutableObjectShortMap.tap(ShortProcedure procedure) |
default MutableObjectShortMap<K> |
MutableObjectShortMap.withAllKeyValues(Iterable<ObjectShortPair<K>> keyValuePairs) |
MutableObjectShortMap<K> |
MutableObjectShortMap.withKeyValue(K key,
short value)
Associates a value with the specified key.
|
MutableObjectShortMap<K> |
MutableObjectShortMap.withoutAllKeys(Iterable<? extends K> keys)
Removes the mappings associated with all the keys, if they exist, from this map.
|
MutableObjectShortMap<K> |
MutableObjectShortMap.withoutKey(K key)
Removes the mapping associated with the key, if one exists, from this map.
|
Copyright © 2004–2021. All rights reserved.