Uses of Interface
org.eclipse.collections.api.map.ImmutableMap
Package
Description
This package contains interfaces for Eclipse Collections API.
This package contains interfaces for BiMap API.
This package contains factory API for creating instances of type
MapIterable
.This package contains factory API for creating instances of maps with user defined
HashingStrategy
s.This package contains interfaces for map API which enhance the performance and functionality of
Map
This package contains API for primitive to primitive maps, primitive to object maps and object to primitive maps with mutable and immutable variants.
This package contains mutable and immutable sorted map interfaces.
This package contains interfaces for stack API.
This package contains implementations of the
ImmutableBag
interface.This package contains implementations of the
ImmutableCollection
interface.This package contains static utilities for creating mutable and immutable collection factories.
This package contains implementations of the
ImmutableMap
interface.This package contains implementations of the
MutableMap
interface.This package contains implementations of the
MutableSortedMap
interface.This package contains immutable map implementations backed by hashtables that rely on
HashingStrategy
s provided by
the developer to compute the hashCode and equals for the objects stored in the map.This package contains mutable map implementations backed by hashtables that rely on
HashingStrategy
s provided by
the developer to compute the hashCode and equals for the objects stored in the map.This package contains implementations of the
BagMultimap
interface.This package contains implementations of the
ListMultimap
interface.This package contains implementations of the
SetMultimap
interface.This package contains implementations of the
SortedSetMultimap
interface.-
Uses of ImmutableMap in org.eclipse.collections.api
Modifier and TypeMethodDescriptiondefault <NK,
NV> ImmutableMap<NK, NV> RichIterable.toImmutableMap
(Function<? super T, ? extends NK> keyFunction, Function<? super T, ? extends NV> valueFunction) Converts the collection to an ImmutableMap implementation using the specified key and value functions. -
Uses of ImmutableMap in org.eclipse.collections.api.bimap
Modifier and TypeMethodDescriptiondefault <K1,
V1, V2> ImmutableMap<K1, V2> ImmutableBiMap.aggregateBy
(Function<? super K, ? extends K1> keyFunction, Function<? super V, ? extends V1> valueFunction, Function0<? extends V2> zeroValueFactory, Function2<? super V2, ? super V1, ? extends V2> nonMutatingAggregator) default <KK,
VV> ImmutableMap<KK, VV> ImmutableBiMap.aggregateBy
(Function<? super V, ? extends KK> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV, ? super V, ? extends VV> nonMutatingAggregator) default <KK,
VV> ImmutableMap<KK, VV> ImmutableBiMap.aggregateInPlaceBy
(Function<? super V, ? extends KK> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV, ? super V> mutatingAggregator) -
Uses of ImmutableMap in org.eclipse.collections.api.collection
Modifier and TypeMethodDescriptiondefault <K,
V> ImmutableMap<K, V> ImmutableCollection.aggregateBy
(Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V, ? super T, ? extends V> nonMutatingAggregator) default <K,
V> ImmutableMap<K, V> ImmutableCollection.aggregateInPlaceBy
(Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V, ? super T> mutatingAggregator) default <V> ImmutableMap<V,
T> ImmutableCollection.groupByUniqueKey
(Function<? super T, ? extends V> function) -
Uses of ImmutableMap in org.eclipse.collections.api.factory.bimap
Modifier and TypeMethodDescription<K,
V> ImmutableBiMap<K, V> ImmutableBiMapFactory.ofAll
(ImmutableMap<K, V> immutableMap) <K,
V> ImmutableBiMap<K, V> ImmutableBiMapFactory.withAll
(ImmutableMap<K, V> immutableMap) -
Uses of ImmutableMap in org.eclipse.collections.api.factory.map
Modifier and TypeMethodDescription<K,
V> ImmutableMap<K, V> ImmutableMapFactory.empty()
<K,
V> ImmutableMap<K, V> ImmutableMapFactory.of()
Same asImmutableMapFactory.empty()
.<K,
V> ImmutableMap<K, V> ImmutableMapFactory.of
(K key, V value) <K,
V> ImmutableMap<K, V> ImmutableMapFactory.of
(K key1, V value1, K key2, V value2) <K,
V> ImmutableMap<K, V> ImmutableMapFactory.of
(K key1, V value1, K key2, V value2, K key3, V value3) <K,
V> ImmutableMap<K, V> ImmutableMapFactory.of
(K key1, V value1, K key2, V value2, K key3, V value3, K key4, V value4) <K,
V> ImmutableMap<K, V> Same asImmutableMapFactory.withAll(Map)
.<K,
V> ImmutableMap<K, V> <K,
V> ImmutableMap<K, V> ImmutableMapFactory.with()
Same asImmutableMapFactory.empty()
.<K,
V> ImmutableMap<K, V> ImmutableMapFactory.with
(K key, V value) <K,
V> ImmutableMap<K, V> ImmutableMapFactory.with
(K key1, V value1, K key2, V value2) <K,
V> ImmutableMap<K, V> ImmutableMapFactory.with
(K key1, V value1, K key2, V value2, K key3, V value3) <K,
V> ImmutableMap<K, V> ImmutableMapFactory.with
(K key1, V value1, K key2, V value2, K key3, V value3, K key4, V value4) <K,
V> ImmutableMap<K, V> -
Uses of ImmutableMap in org.eclipse.collections.api.factory.map.strategy
Modifier and TypeMethodDescription<K,
V> ImmutableMap<K, V> ImmutableHashingStrategyMapFactory.of
(HashingStrategy<? super K> hashingStrategy) <K,
V> ImmutableMap<K, V> ImmutableHashingStrategyMapFactory.of
(HashingStrategy<? super K> hashingStrategy, K key, V value) <K,
V> ImmutableMap<K, V> ImmutableHashingStrategyMapFactory.of
(HashingStrategy<? super K> hashingStrategy, K key1, V value1, K key2, V value2) <K,
V> ImmutableMap<K, V> ImmutableHashingStrategyMapFactory.of
(HashingStrategy<? super K> hashingStrategy, K key1, V value1, K key2, V value2, K key3, V value3) <K,
V> ImmutableMap<K, V> ImmutableHashingStrategyMapFactory.of
(HashingStrategy<? super K> hashingStrategy, K key1, V value1, K key2, V value2, K key3, V value3, K key4, V value4) <K,
V> ImmutableMap<K, V> <K,
V> ImmutableMap<K, V> <K,
V> ImmutableMap<K, V> ImmutableHashingStrategyMapFactory.with
(HashingStrategy<? super K> hashingStrategy) <K,
V> ImmutableMap<K, V> ImmutableHashingStrategyMapFactory.with
(HashingStrategy<? super K> hashingStrategy, K key, V value) <K,
V> ImmutableMap<K, V> ImmutableHashingStrategyMapFactory.with
(HashingStrategy<? super K> hashingStrategy, K key1, V value1, K key2, V value2) <K,
V> ImmutableMap<K, V> ImmutableHashingStrategyMapFactory.with
(HashingStrategy<? super K> hashingStrategy, K key1, V value1, K key2, V value2, K key3, V value3) <K,
V> ImmutableMap<K, V> ImmutableHashingStrategyMapFactory.with
(HashingStrategy<? super K> hashingStrategy, K key1, V value1, K key2, V value2, K key3, V value3, K key4, V value4) <K,
V> ImmutableMap<K, V> -
Uses of ImmutableMap in org.eclipse.collections.api.map
Modifier and TypeMethodDescriptiondefault <K1,
V1, V2> ImmutableMap<K1, V2> ImmutableMap.aggregateBy
(Function<? super K, ? extends K1> keyFunction, Function<? super V, ? extends V1> valueFunction, Function0<? extends V2> zeroValueFactory, Function2<? super V2, ? super V1, ? extends V2> nonMutatingAggregator) default <KK,
VV> ImmutableMap<KK, VV> ImmutableMap.aggregateBy
(Function<? super V, ? extends KK> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV, ? super V, ? extends VV> nonMutatingAggregator) default <KK,
VV> ImmutableMap<KK, VV> ImmutableMap.aggregateInPlaceBy
(Function<? super V, ? extends KK> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV, ? super V> mutatingAggregator) <K2,
V2> ImmutableMap<K2, V2> <R> ImmutableMap<K,
R> ImmutableMap.collectValues
(Function2<? super K, ? super V, ? extends R> function) ImmutableMap.flipUniqueValues()
default <V1> ImmutableMap<V1,
V> ImmutableMap.groupByUniqueKey
(Function<? super V, ? extends V1> function) ImmutableMap.newWithAllKeyValueArguments
(Pair<? extends K, ? extends V>... keyValuePairs) ImmutableMap.newWithAllKeyValues
(Iterable<? extends Pair<? extends K, ? extends V>> keyValues) ImmutableMap.newWithKeyValue
(K key, V value) ImmutableMap.newWithMap
(Map<? extends K, ? extends V> map) ImmutableMap.newWithMapIterable
(MapIterable<? extends K, ? extends V> mapIterable) ImmutableMap.newWithoutAllKeys
(Iterable<? extends K> keys) ImmutableMap.newWithoutKey
(K key) ImmutableMap.reject
(Predicate2<? super K, ? super V> predicate) ImmutableMap.select
(Predicate2<? super K, ? super V> predicate) UnsortedMapIterable.toImmutable()
Converts the UnsortedMapIterable to an immutable implementation. -
Uses of ImmutableMap in org.eclipse.collections.api.map.primitive
Modifier and TypeMethodDescriptiondefault <K,
VV> ImmutableMap<K, VV> ImmutablePrimitiveObjectMap.aggregateBy
(Function<? super V, ? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV, ? super V, ? extends VV> nonMutatingAggregator) default <K,
VV> ImmutableMap<K, VV> ImmutablePrimitiveObjectMap.aggregateInPlaceBy
(Function<? super V, ? extends K> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV, ? super V> mutatingAggregator) default <VV> ImmutableMap<VV,
V> ImmutablePrimitiveObjectMap.groupByUniqueKey
(Function<? super V, ? extends VV> function) -
Uses of ImmutableMap in org.eclipse.collections.api.map.sorted
Modifier and TypeMethodDescriptiondefault <K1,
V1, V2> ImmutableMap<K1, V2> ImmutableSortedMap.aggregateBy
(Function<? super K, ? extends K1> keyFunction, Function<? super V, ? extends V1> valueFunction, Function0<? extends V2> zeroValueFactory, Function2<? super V2, ? super V1, ? extends V2> nonMutatingAggregator) default <KK,
VV> ImmutableMap<KK, VV> ImmutableSortedMap.aggregateBy
(Function<? super V, ? extends KK> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV, ? super V, ? extends VV> nonMutatingAggregator) default <KK,
VV> ImmutableMap<KK, VV> ImmutableSortedMap.aggregateInPlaceBy
(Function<? super V, ? extends KK> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV, ? super V> mutatingAggregator) <K2,
V2> ImmutableMap<K2, V2> default <VV> ImmutableMap<VV,
V> ImmutableSortedMap.groupByUniqueKey
(Function<? super V, ? extends VV> function) -
Uses of ImmutableMap in org.eclipse.collections.api.stack
Modifier and TypeMethodDescriptiondefault <K,
V> ImmutableMap<K, V> ImmutableStack.aggregateBy
(Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Function2<? super V, ? super T, ? extends V> nonMutatingAggregator) default <K,
V> ImmutableMap<K, V> ImmutableStack.aggregateInPlaceBy
(Function<? super T, ? extends K> groupBy, Function0<? extends V> zeroValueFactory, Procedure2<? super V, ? super T> mutatingAggregator) default <V> ImmutableMap<V,
T> ImmutableStack.groupByUniqueKey
(Function<? super T, ? extends V> function) -
Uses of ImmutableMap in org.eclipse.collections.impl.bag.immutable
Modifier and TypeMethodDescription<V> ImmutableMap<V,
T> AbstractImmutableBag.groupByUniqueKey
(Function<? super T, ? extends V> function) <V> ImmutableMap<V,
T> ImmutableHashBag.groupByUniqueKey
(Function<? super T, ? extends V> function) -
Uses of ImmutableMap in org.eclipse.collections.impl.bimap.immutable
Modifier and TypeMethodDescription<K1,
V1, V2> ImmutableMap<K1, V2> AbstractImmutableBiMap.aggregateBy
(Function<? super K, ? extends K1> keyFunction, Function<? super V, ? extends V1> valueFunction, Function0<? extends V2> zeroValueFactory, Function2<? super V2, ? super V1, ? extends V2> nonMutatingAggregator) <K2,
V2> ImmutableMap<K2, V2> AbstractImmutableBiMap.aggregateBy
(Function<? super V, ? extends K2> groupBy, Function0<? extends V2> zeroValueFactory, Function2<? super V2, ? super V, ? extends V2> nonMutatingAggregator) <K2,
V2> ImmutableMap<K2, V2> AbstractImmutableBiMap.aggregateInPlaceBy
(Function<? super V, ? extends K2> groupBy, Function0<? extends V2> zeroValueFactory, Procedure2<? super V2, ? super V> mutatingAggregator) Modifier and TypeMethodDescription<K,
V> ImmutableBiMap<K, V> ImmutableBiMapFactoryImpl.ofAll
(ImmutableMap<K, V> immutableMap) <K,
V> ImmutableBiMap<K, V> ImmutableBiMapFactoryImpl.withAll
(ImmutableMap<K, V> immutableMap) -
Uses of ImmutableMap in org.eclipse.collections.impl.collection.immutable
Modifier and TypeMethodDescription<V> ImmutableMap<V,
T> AbstractImmutableCollection.groupByUniqueKey
(Function<? super T, ? extends V> function) -
Uses of ImmutableMap in org.eclipse.collections.impl.collector
Modifier and TypeMethodDescriptionstatic <T,
K, V> Collector<T, ?, ImmutableMap<K, V>> Collectors2.toImmutableMap
(Function<? super T, ? extends K> keyFunction, Function<? super T, ? extends V> valueFunction) Returns the elements as an ImmutableMap applying the keyFunction and valueFunction to each element. -
Uses of ImmutableMap in org.eclipse.collections.impl.factory
Modifier and TypeMethodDescriptionstatic <K,
V> ImmutableMap<K, V> Iterables.iMap()
static <K,
V> ImmutableMap<K, V> Iterables.iMap
(K key, V value) static <K,
V> ImmutableMap<K, V> Iterables.iMap
(K key1, V value1, K key2, V value2) static <K,
V> ImmutableMap<K, V> Iterables.iMap
(K key1, V value1, K key2, V value2, K key3, V value3) static <K,
V> ImmutableMap<K, V> Iterables.iMap
(K key1, V value1, K key2, V value2, K key3, V value3, K key4, V value4) -
Uses of ImmutableMap in org.eclipse.collections.impl.map.immutable
Modifier and TypeMethodDescription<K1,
V1, V2> ImmutableMap<K1, V2> AbstractImmutableMap.aggregateBy
(Function<? super K, ? extends K1> keyFunction, Function<? super V, ? extends V1> valueFunction, Function0<? extends V2> zeroValueFactory, Function2<? super V2, ? super V1, ? extends V2> nonMutatingAggregator) <K2,
V2> ImmutableMap<K2, V2> <R> ImmutableMap<K,
R> AbstractImmutableMap.collectValues
(Function2<? super K, ? super V, ? extends R> function) <K,
V> ImmutableMap<K, V> ImmutableMapFactoryImpl.empty()
AbstractImmutableMap.flipUniqueValues()
<V1> ImmutableMap<V1,
V> AbstractImmutableMap.groupByUniqueKey
(Function<? super V, ? extends V1> function) AbstractImmutableMap.newWithAllKeyValueArguments
(Pair<? extends K, ? extends V>... keyValuePairs) AbstractImmutableMap.newWithAllKeyValues
(Iterable<? extends Pair<? extends K, ? extends V>> keyValues) AbstractImmutableMap.newWithKeyValue
(K key, V value) AbstractImmutableMap.newWithMap
(Map<? extends K, ? extends V> map) AbstractImmutableMap.newWithMapIterable
(MapIterable<? extends K, ? extends V> mapIterable) AbstractImmutableMap.newWithoutAllKeys
(Iterable<? extends K> keys) AbstractImmutableMap.newWithoutKey
(K key) <K,
V> ImmutableMap<K, V> ImmutableMapFactoryImpl.of()
<K,
V> ImmutableMap<K, V> ImmutableMapFactoryImpl.of
(K key, V value) <K,
V> ImmutableMap<K, V> ImmutableMapFactoryImpl.of
(K key1, V value1, K key2, V value2) <K,
V> ImmutableMap<K, V> ImmutableMapFactoryImpl.of
(K key1, V value1, K key2, V value2, K key3, V value3) <K,
V> ImmutableMap<K, V> ImmutableMapFactoryImpl.of
(K key1, V value1, K key2, V value2, K key3, V value3, K key4, V value4) <K,
V> ImmutableMap<K, V> <K,
V> ImmutableMap<K, V> Deprecated.AbstractImmutableMap.reject
(Predicate2<? super K, ? super V> predicate) AbstractImmutableMap.select
(Predicate2<? super K, ? super V> predicate) AbstractImmutableMap.toImmutable()
<K,
V> ImmutableMap<K, V> ImmutableMapFactoryImpl.with()
<K,
V> ImmutableMap<K, V> ImmutableMapFactoryImpl.with
(K key, V value) <K,
V> ImmutableMap<K, V> ImmutableMapFactoryImpl.with
(K key1, V value1, K key2, V value2) <K,
V> ImmutableMap<K, V> ImmutableMapFactoryImpl.with
(K key1, V value1, K key2, V value2, K key3, V value3) <K,
V> ImmutableMap<K, V> ImmutableMapFactoryImpl.with
(K key1, V value1, K key2, V value2, K key3, V value3, K key4, V value4) <K,
V> ImmutableMap<K, V> -
Uses of ImmutableMap in org.eclipse.collections.impl.map.mutable
Modifier and TypeMethodDescriptionAbstractMutableMap.toImmutable()
ConcurrentHashMap.toImmutable()
ConcurrentHashMapUnsafe.toImmutable()
ConcurrentMutableHashMap.toImmutable()
Deprecated.MapAdapter.toImmutable()
SynchronizedMutableMap.toImmutable()
UnifiedMap.toImmutable()
UnmodifiableMutableMap.toImmutable()
-
Uses of ImmutableMap in org.eclipse.collections.impl.map.sorted.immutable
Modifier and TypeMethodDescription<K1,
V1, V2> ImmutableMap<K1, V2> AbstractImmutableSortedMap.aggregateBy
(Function<? super K, ? extends K1> keyFunction, Function<? super V, ? extends V1> valueFunction, Function0<? extends V2> zeroValueFactory, Function2<? super V2, ? super V1, ? extends V2> nonMutatingAggregator) <K2,
V2> ImmutableMap<K2, V2> ImmutableTreeMap.flipUniqueValues()
<V1> ImmutableMap<V1,
V> AbstractImmutableSortedMap.groupByUniqueKey
(Function<? super V, ? extends V1> function) -
Uses of ImmutableMap in org.eclipse.collections.impl.map.strategy.immutable
Modifier and TypeMethodDescription<R> ImmutableMap<K,
R> ImmutableUnifiedMapWithHashingStrategy.collectValues
(Function2<? super K, ? super V, ? extends R> function) ImmutableUnifiedMapWithHashingStrategy.newWithAllKeyValueArguments
(Pair<? extends K, ? extends V>... keyValuePairs) ImmutableUnifiedMapWithHashingStrategy.newWithAllKeyValues
(Iterable<? extends Pair<? extends K, ? extends V>> keyValues) ImmutableUnifiedMapWithHashingStrategy.newWithKeyValue
(K key, V value) ImmutableUnifiedMapWithHashingStrategy.newWithMap
(Map<? extends K, ? extends V> map) ImmutableUnifiedMapWithHashingStrategy.newWithMapIterable
(MapIterable<? extends K, ? extends V> mapIterable) ImmutableUnifiedMapWithHashingStrategy.newWithoutAllKeys
(Iterable<? extends K> keys) ImmutableUnifiedMapWithHashingStrategy.newWithoutKey
(K key) <K,
V> ImmutableMap<K, V> ImmutableHashingStrategyMapFactoryImpl.of
(HashingStrategy<? super K> hashingStrategy) <K,
V> ImmutableMap<K, V> ImmutableHashingStrategyMapFactoryImpl.of
(HashingStrategy<? super K> hashingStrategy, K key, V value) <K,
V> ImmutableMap<K, V> ImmutableHashingStrategyMapFactoryImpl.of
(HashingStrategy<? super K> hashingStrategy, K key1, V value1, K key2, V value2) <K,
V> ImmutableMap<K, V> ImmutableHashingStrategyMapFactoryImpl.of
(HashingStrategy<? super K> hashingStrategy, K key1, V value1, K key2, V value2, K key3, V value3) <K,
V> ImmutableMap<K, V> ImmutableHashingStrategyMapFactoryImpl.of
(HashingStrategy<? super K> hashingStrategy, K key1, V value1, K key2, V value2, K key3, V value3, K key4, V value4) <K,
V> ImmutableMap<K, V> <K,
V> ImmutableMap<K, V> Deprecated.useImmutableHashingStrategyMapFactoryImpl.ofAll(Map)
instead (inlineable)ImmutableUnifiedMapWithHashingStrategy.reject
(Predicate2<? super K, ? super V> predicate) ImmutableUnifiedMapWithHashingStrategy.select
(Predicate2<? super K, ? super V> predicate) <K,
V> ImmutableMap<K, V> ImmutableHashingStrategyMapFactoryImpl.with
(HashingStrategy<? super K> hashingStrategy) <K,
V> ImmutableMap<K, V> ImmutableHashingStrategyMapFactoryImpl.with
(HashingStrategy<? super K> hashingStrategy, K key, V value) <K,
V> ImmutableMap<K, V> ImmutableHashingStrategyMapFactoryImpl.with
(HashingStrategy<? super K> hashingStrategy, K key1, V value1, K key2, V value2) <K,
V> ImmutableMap<K, V> ImmutableHashingStrategyMapFactoryImpl.with
(HashingStrategy<? super K> hashingStrategy, K key1, V value1, K key2, V value2, K key3, V value3) <K,
V> ImmutableMap<K, V> ImmutableHashingStrategyMapFactoryImpl.with
(HashingStrategy<? super K> hashingStrategy, K key1, V value1, K key2, V value2, K key3, V value3, K key4, V value4) <K,
V> ImmutableMap<K, V> -
Uses of ImmutableMap in org.eclipse.collections.impl.map.strategy.mutable
-
Uses of ImmutableMap in org.eclipse.collections.impl.multimap.bag
-
Uses of ImmutableMap in org.eclipse.collections.impl.multimap.bag.sorted.immutable
ModifierConstructorDescriptionImmutableSortedBagMultimapImpl
(ImmutableMap<K, ImmutableSortedBag<V>> map, Comparator<? super V> comparator) -
Uses of ImmutableMap in org.eclipse.collections.impl.multimap.list
ModifierConstructorDescription -
Uses of ImmutableMap in org.eclipse.collections.impl.multimap.set
-
Uses of ImmutableMap in org.eclipse.collections.impl.multimap.set.sorted
ModifierConstructorDescriptionImmutableSortedSetMultimapImpl
(ImmutableMap<K, ImmutableSortedSet<V>> map, Comparator<? super V> comparator)
ImmutableMapFactoryImpl.ofAll(Map)
instead (inlineable)