Package | Description |
---|---|
org.eclipse.collections.api.bimap |
This package contains interfaces for BiMap API.
|
org.eclipse.collections.api.factory.bimap | |
org.eclipse.collections.impl.bimap.immutable | |
org.eclipse.collections.impl.bimap.mutable |
This package contains implementations of the
MutableBiMap interface. |
org.eclipse.collections.impl.collector |
Modifier and Type | Method | 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() |
|
<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(java.lang.Iterable<? extends Pair<? extends K,? extends V>> keyValues) |
|
ImmutableBiMap<K,V> |
ImmutableBiMap.newWithKeyValue(K key,
V value) |
|
ImmutableBiMap<K,V> |
ImmutableBiMap.newWithoutAllKeys(java.lang.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 | 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(java.util.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.ofAll(ImmutableMap<K,V> immutableMap) |
|
<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(java.util.Map<K,V> map) |
|
<K,V> ImmutableBiMap<K,V> |
ImmutableBiMapFactory.withAll(MutableBiMap<K,V> biMap) |
|
<K,V> ImmutableBiMap<K,V> |
ImmutableBiMapFactory.withAll(ImmutableMap<K,V> immutableMap) |
Modifier and Type | Class | Description |
---|---|---|
class |
AbstractImmutableBiMap<K,V> |
Modifier and Type | Method | Description |
---|---|---|
<K2,V2> ImmutableBiMap<K2,V2> |
AbstractImmutableBiMap.collect(Function2<? super K,? super V,Pair<K2,V2>> function) |
|
<R> ImmutableBiMap<K,R> |
AbstractImmutableBiMap.collectValues(Function2<? super K,? super V,? extends R> function) |
|
<K,V> ImmutableBiMap<K,V> |
ImmutableBiMapFactoryImpl.empty() |
|
ImmutableBiMap<V,K> |
AbstractImmutableBiMap.flipUniqueValues() |
|
<VV> ImmutableBiMap<VV,V> |
AbstractImmutableBiMap.groupByUniqueKey(Function<? super V,? extends VV> function) |
|
ImmutableBiMap<V,K> |
AbstractImmutableBiMap.inverse() |
|
ImmutableBiMap<K,V> |
AbstractImmutableBiMap.newWithAllKeyValueArguments(Pair<? extends K,? extends V>... keyValuePairs) |
|
ImmutableBiMap<K,V> |
AbstractImmutableBiMap.newWithAllKeyValues(java.lang.Iterable<? extends Pair<? extends K,? extends V>> keyValues) |
|
ImmutableBiMap<K,V> |
AbstractImmutableBiMap.newWithKeyValue(K key,
V value) |
|
ImmutableBiMap<K,V> |
AbstractImmutableBiMap.newWithoutAllKeys(java.lang.Iterable<? extends K> keys) |
|
ImmutableBiMap<K,V> |
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> |
ImmutableBiMapFactoryImpl.ofAll(java.util.Map<K,V> map) |
|
<K,V> ImmutableBiMap<K,V> |
ImmutableBiMapFactoryImpl.ofAll(MutableBiMap<K,V> biMap) |
|
<K,V> ImmutableBiMap<K,V> |
ImmutableBiMapFactoryImpl.ofAll(ImmutableMap<K,V> immutableMap) |
|
ImmutableBiMap<K,V> |
AbstractImmutableBiMap.reject(Predicate2<? super K,? super V> predicate) |
|
ImmutableBiMap<K,V> |
AbstractImmutableBiMap.select(Predicate2<? super K,? super V> predicate) |
|
ImmutableBiMap<K,V> |
AbstractImmutableBiMap.tap(Procedure<? super V> procedure) |
|
ImmutableBiMap<K,V> |
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> |
ImmutableBiMapFactoryImpl.withAll(java.util.Map<K,V> map) |
|
<K,V> ImmutableBiMap<K,V> |
ImmutableBiMapFactoryImpl.withAll(MutableBiMap<K,V> biMap) |
|
<K,V> ImmutableBiMap<K,V> |
ImmutableBiMapFactoryImpl.withAll(ImmutableMap<K,V> immutableMap) |
Modifier and Type | Method | Description |
---|---|---|
ImmutableBiMap<K,V> |
SynchronizedBiMap.toImmutable() |
|
ImmutableBiMap<K,V> |
UnmodifiableBiMap.toImmutable() |
Modifier and Type | Method | Description |
---|---|---|
static <T,K,V> java.util.stream.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.
|
Copyright © 2004–2020. All rights reserved.