| 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> MutableIntObjectMap<V> |
MutableIntObjectMapFactory.empty() |
<T,V> MutableIntObjectMap<V> |
MutableIntObjectMapFactory.from(Iterable<T> iterable,
IntFunction<? super T> keyFunction,
Function<? super T,? extends V> valueFunction)
Creates an
MutableIntObjectMap from an Iterable<T> by applying keyFunction and valueFunction. |
<V> MutableIntObjectMap<V> |
MutableIntObjectMapFactory.of()
Same as
MutableIntObjectMapFactory.empty(). |
<V> MutableIntObjectMap<V> |
MutableIntObjectMapFactory.ofAll(IntObjectMap<? extends V> map)
|
<V> MutableIntObjectMap<V> |
MutableIntObjectMapFactory.ofInitialCapacity(int capacity)
Same as
MutableIntObjectMapFactory.empty(). |
<V> MutableIntObjectMap<V> |
MutableIntObjectMapFactory.with()
Same as
MutableIntObjectMapFactory.empty(). |
<V> MutableIntObjectMap<V> |
MutableIntObjectMapFactory.withAll(IntObjectMap<? extends V> map) |
<V> MutableIntObjectMap<V> |
MutableIntObjectMapFactory.withInitialCapacity(int capacity)
Same as
MutableIntObjectMapFactory.empty(). |
| Modifier and Type | Method and Description |
|---|---|
MutableIntObjectMap<V> |
MutableIntObjectMap.asSynchronized() |
MutableIntObjectMap<V> |
MutableIntObjectMap.asUnmodifiable() |
MutableIntObjectMap<K> |
MutableObjectIntMap.flipUniqueValues() |
MutableIntObjectMap<V> |
MutableIntObjectMap.reject(IntObjectPredicate<? super V> predicate) |
MutableIntObjectMap<V> |
MutableIntObjectMap.select(IntObjectPredicate<? super V> predicate) |
MutableIntObjectMap<V> |
MutableIntObjectMap.tap(Procedure<? super V> procedure) |
default MutableIntObjectMap<V> |
MutableIntObjectMap.withAllKeyValues(Iterable<IntObjectPair<V>> keyValuePairs) |
MutableIntObjectMap<V> |
MutableIntObjectMap.withKeyValue(int key,
V value) |
MutableIntObjectMap<V> |
MutableIntObjectMap.withoutAllKeys(IntIterable keys) |
MutableIntObjectMap<V> |
MutableIntObjectMap.withoutKey(int key) |
Copyright © 2004–2020. All rights reserved.