| Package | Description |
|---|---|
| org.eclipse.collections.api |
This package contains interfaces for Eclipse Collections API.
|
| org.eclipse.collections.api.bimap |
This package contains interfaces for BiMap API.
|
| org.eclipse.collections.api.factory.bimap |
| Modifier and Type | Method and Description |
|---|---|
default <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.
|
| Modifier and Type | Method and Description |
|---|---|
<K2,V2> ImmutableBiMap<K2,V2> |
ImmutableBiMap.collect(Function2<? super K,? super V,Pair<K2,V2>> function) |
<R> ImmutableBiMap<K,R> |
ImmutableBiMap.collectValues(Function2<? super K,? super V,? extends R> function) |
ImmutableBiMap<V,K> |
ImmutableBiMap.flipUniqueValues() |
default <VV> ImmutableBiMap<VV,V> |
ImmutableBiMap.groupByUniqueKey(Function<? super V,? extends VV> function) |
ImmutableBiMap<V,K> |
ImmutableBiMap.inverse() |
ImmutableBiMap<K,V> |
ImmutableBiMap.newWithAllKeyValueArguments(Pair<? extends K,? extends V>... keyValuePairs) |
ImmutableBiMap<K,V> |
ImmutableBiMap.newWithAllKeyValues(Iterable<? extends Pair<? extends K,? extends V>> keyValues) |
ImmutableBiMap<K,V> |
ImmutableBiMap.newWithKeyValue(K key,
V value) |
ImmutableBiMap<K,V> |
ImmutableBiMap.newWithMap(Map<? extends K,? extends V> map) |
ImmutableBiMap<K,V> |
ImmutableBiMap.newWithMapIterable(MapIterable<? extends K,? extends V> mapIterable) |
ImmutableBiMap<K,V> |
ImmutableBiMap.newWithoutAllKeys(Iterable<? extends K> keys) |
ImmutableBiMap<K,V> |
ImmutableBiMap.newWithoutKey(K key) |
ImmutableBiMap<K,V> |
ImmutableBiMap.reject(Predicate2<? super K,? super V> predicate) |
ImmutableBiMap<K,V> |
ImmutableBiMap.select(Predicate2<? super K,? super V> predicate) |
ImmutableBiMap<K,V> |
ImmutableBiMap.tap(Procedure<? super V> procedure) |
ImmutableBiMap<K,V> |
BiMap.toImmutable()
Converts the BiMap to an ImmutableBiMap.
|
| Modifier and Type | Method and Description |
|---|---|
<K,V> ImmutableBiMap<K,V> |
ImmutableBiMapFactory.empty() |
<K,V> ImmutableBiMap<K,V> |
ImmutableBiMapFactory.of()
Same as
ImmutableBiMapFactory.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> |
ImmutableBiMapFactory.ofAll(ImmutableMap<K,V> immutableMap) |
<K,V> ImmutableBiMap<K,V> |
ImmutableBiMapFactory.ofAll(Map<K,V> map)
Same as
ImmutableBiMapFactory.withAll(Map). |
<K,V> ImmutableBiMap<K,V> |
ImmutableBiMapFactory.ofAll(MutableBiMap<K,V> biMap) |
<K,V> ImmutableBiMap<K,V> |
ImmutableBiMapFactory.with()
Same as
ImmutableBiMapFactory.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> |
ImmutableBiMapFactory.withAll(ImmutableMap<K,V> immutableMap) |
<K,V> ImmutableBiMap<K,V> |
ImmutableBiMapFactory.withAll(Map<K,V> map) |
<K,V> ImmutableBiMap<K,V> |
ImmutableBiMapFactory.withAll(MutableBiMap<K,V> biMap) |
Copyright © 2004–2023. All rights reserved.