Uses of Interface
org.eclipse.collections.api.bimap.ImmutableBiMap
Package
Description
This package contains interfaces for Eclipse Collections API.
This package contains interfaces for BiMap API.
This package contains implementations of the
MutableBiMap
interface.-
Uses of ImmutableBiMap in org.eclipse.collections.api
Modifier and TypeMethodDescriptiondefault <NK,
NV> ImmutableBiMap<NK, NV> RichIterable.toImmutableBiMap
(Function<? super T, ? extends NK> keyFunction, Function<? super T, ? extends NV> valueFunction) Converts the collection to an immutable BiMap implementation using the specified key and value functions. -
Uses of ImmutableBiMap in org.eclipse.collections.api.bimap
Modifier and TypeMethodDescription<K2,
V2> ImmutableBiMap<K2, V2> <R> ImmutableBiMap<K,
R> ImmutableBiMap.collectValues
(Function2<? super K, ? super V, ? extends R> function) ImmutableBiMap.flipUniqueValues()
default <VV> ImmutableBiMap<VV,
V> ImmutableBiMap.groupByUniqueKey
(Function<? super V, ? extends VV> function) ImmutableBiMap.inverse()
ImmutableBiMap.newWithAllKeyValueArguments
(Pair<? extends K, ? extends V>... keyValuePairs) ImmutableBiMap.newWithAllKeyValues
(Iterable<? extends Pair<? extends K, ? extends V>> keyValues) ImmutableBiMap.newWithKeyValue
(K key, V value) ImmutableBiMap.newWithMap
(Map<? extends K, ? extends V> map) ImmutableBiMap.newWithMapIterable
(MapIterable<? extends K, ? extends V> mapIterable) ImmutableBiMap.newWithoutAllKeys
(Iterable<? extends K> keys) ImmutableBiMap.newWithoutKey
(K key) ImmutableBiMap.reject
(Predicate2<? super K, ? super V> predicate) ImmutableBiMap.select
(Predicate2<? super K, ? super V> predicate) BiMap.toImmutable()
Converts the BiMap to an ImmutableBiMap. -
Uses of ImmutableBiMap in org.eclipse.collections.api.factory.bimap
Modifier and TypeMethodDescription<K,
V> ImmutableBiMap<K, V> ImmutableBiMapFactory.empty()
<K,
V> ImmutableBiMap<K, V> ImmutableBiMapFactory.of()
Same asImmutableBiMapFactory.empty()
.<K,
V> ImmutableBiMap<K, V> ImmutableBiMapFactory.of
(K key, V value) <K,
V> ImmutableBiMap<K, V> ImmutableBiMapFactory.of
(K key1, V value1, K key2, V value2) <K,
V> ImmutableBiMap<K, V> ImmutableBiMapFactory.of
(K key1, V value1, K key2, V value2, K key3, V value3) <K,
V> ImmutableBiMap<K, V> ImmutableBiMapFactory.of
(K key1, V value1, K key2, V value2, K key3, V value3, K key4, V value4) <K,
V> ImmutableBiMap<K, V> Same asImmutableBiMapFactory.withAll(Map)
.<K,
V> ImmutableBiMap<K, V> ImmutableBiMapFactory.ofAll
(MutableBiMap<K, V> biMap) <K,
V> ImmutableBiMap<K, V> ImmutableBiMapFactory.ofAll
(ImmutableMap<K, V> immutableMap) <K,
V> ImmutableBiMap<K, V> ImmutableBiMapFactory.with()
Same asImmutableBiMapFactory.empty()
.<K,
V> ImmutableBiMap<K, V> ImmutableBiMapFactory.with
(K key, V value) <K,
V> ImmutableBiMap<K, V> ImmutableBiMapFactory.with
(K key1, V value1, K key2, V value2) <K,
V> ImmutableBiMap<K, V> ImmutableBiMapFactory.with
(K key1, V value1, K key2, V value2, K key3, V value3) <K,
V> ImmutableBiMap<K, V> ImmutableBiMapFactory.with
(K key1, V value1, K key2, V value2, K key3, V value3, K key4, V value4) <K,
V> ImmutableBiMap<K, V> <K,
V> ImmutableBiMap<K, V> ImmutableBiMapFactory.withAll
(MutableBiMap<K, V> biMap) <K,
V> ImmutableBiMap<K, V> ImmutableBiMapFactory.withAll
(ImmutableMap<K, V> immutableMap) -
Uses of ImmutableBiMap in org.eclipse.collections.impl.bimap.immutable
Modifier and TypeMethodDescription<K2,
V2> ImmutableBiMap<K2, V2> <R> ImmutableBiMap<K,
R> AbstractImmutableBiMap.collectValues
(Function2<? super K, ? super V, ? extends R> function) <K,
V> ImmutableBiMap<K, V> ImmutableBiMapFactoryImpl.empty()
AbstractImmutableBiMap.flipUniqueValues()
<VV> ImmutableBiMap<VV,
V> AbstractImmutableBiMap.groupByUniqueKey
(Function<? super V, ? extends VV> function) AbstractImmutableBiMap.inverse()
AbstractImmutableBiMap.newWithAllKeyValueArguments
(Pair<? extends K, ? extends V>... keyValuePairs) AbstractImmutableBiMap.newWithAllKeyValues
(Iterable<? extends Pair<? extends K, ? extends V>> keyValues) AbstractImmutableBiMap.newWithKeyValue
(K key, V value) AbstractImmutableBiMap.newWithMap
(Map<? extends K, ? extends V> map) AbstractImmutableBiMap.newWithMapIterable
(MapIterable<? extends K, ? extends V> mapIterable) AbstractImmutableBiMap.newWithoutAllKeys
(Iterable<? extends K> keys) AbstractImmutableBiMap.newWithoutKey
(K key) <K,
V> ImmutableBiMap<K, V> ImmutableBiMapFactoryImpl.of()
<K,
V> ImmutableBiMap<K, V> ImmutableBiMapFactoryImpl.of
(K key, V value) <K,
V> ImmutableBiMap<K, V> ImmutableBiMapFactoryImpl.of
(K key1, V value1, K key2, V value2) <K,
V> ImmutableBiMap<K, V> ImmutableBiMapFactoryImpl.of
(K key1, V value1, K key2, V value2, K key3, V value3) <K,
V> ImmutableBiMap<K, V> ImmutableBiMapFactoryImpl.of
(K key1, V value1, K key2, V value2, K key3, V value3, K key4, V value4) <K,
V> ImmutableBiMap<K, V> <K,
V> ImmutableBiMap<K, V> ImmutableBiMapFactoryImpl.ofAll
(MutableBiMap<K, V> biMap) <K,
V> ImmutableBiMap<K, V> ImmutableBiMapFactoryImpl.ofAll
(ImmutableMap<K, V> immutableMap) AbstractImmutableBiMap.reject
(Predicate2<? super K, ? super V> predicate) AbstractImmutableBiMap.select
(Predicate2<? super K, ? super V> predicate) AbstractImmutableBiMap.toImmutable()
<K,
V> ImmutableBiMap<K, V> ImmutableBiMapFactoryImpl.with()
<K,
V> ImmutableBiMap<K, V> ImmutableBiMapFactoryImpl.with
(K key, V value) <K,
V> ImmutableBiMap<K, V> ImmutableBiMapFactoryImpl.with
(K key1, V value1, K key2, V value2) <K,
V> ImmutableBiMap<K, V> ImmutableBiMapFactoryImpl.with
(K key1, V value1, K key2, V value2, K key3, V value3) <K,
V> ImmutableBiMap<K, V> ImmutableBiMapFactoryImpl.with
(K key1, V value1, K key2, V value2, K key3, V value3, K key4, V value4) <K,
V> ImmutableBiMap<K, V> <K,
V> ImmutableBiMap<K, V> ImmutableBiMapFactoryImpl.withAll
(MutableBiMap<K, V> biMap) <K,
V> ImmutableBiMap<K, V> ImmutableBiMapFactoryImpl.withAll
(ImmutableMap<K, V> immutableMap) -
Uses of ImmutableBiMap in org.eclipse.collections.impl.bimap.mutable
Modifier and TypeMethodDescriptionSynchronizedBiMap.toImmutable()
UnmodifiableBiMap.toImmutable()
-
Uses of ImmutableBiMap in org.eclipse.collections.impl.collector
Modifier and TypeMethodDescriptionstatic <T,
K, V> Collector<T, ?, ImmutableBiMap<K, V>> Collectors2.toImmutableBiMap
(Function<? super T, ? extends K> keyFunction, Function<? super T, ? extends V> valueFunction) Returns the elements as an ImmutableBiMap applying the keyFunction and valueFunction to each element.