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