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 | |
org.eclipse.collections.impl.map.mutable |
This package contains implementations of the
MutableMap interface. |
Modifier and Type | Method and Description |
---|---|
MutableBiMap<K,V> |
MutableBiMap.asSynchronized() |
MutableBiMap<K,V> |
MutableBiMap.asUnmodifiable() |
MutableBiMap<K,V> |
MutableBiMap.clone() |
<K2,V2> MutableBiMap<K2,V2> |
MutableBiMap.collect(Function2<? super K,? super V,Pair<K2,V2>> function) |
<R> MutableBiMap<K,R> |
MutableBiMap.collectValues(Function2<? super K,? super V,? extends R> function) |
MutableBiMap<V,K> |
MutableBiMap.flipUniqueValues() |
<VV> MutableBiMap<VV,V> |
MutableBiMap.groupByUniqueKey(Function<? super V,? extends VV> function) |
MutableBiMap<V,K> |
MutableBiMap.inverse() |
MutableBiMap<K,V> |
MutableBiMap.newEmpty() |
MutableBiMap<K,V> |
MutableBiMap.reject(Predicate2<? super K,? super V> predicate) |
MutableBiMap<K,V> |
MutableBiMap.select(Predicate2<? super K,? super V> predicate) |
MutableBiMap<K,V> |
MutableBiMap.tap(Procedure<? super V> procedure) |
MutableBiMap<K,V> |
MutableBiMap.withAllKeyValueArguments(Pair<? extends K,? extends V>... keyValuePairs) |
MutableBiMap<K,V> |
MutableBiMap.withAllKeyValues(Iterable<? extends Pair<? extends K,? extends V>> keyValues) |
MutableBiMap<K,V> |
MutableBiMap.withKeyValue(K key,
V value) |
MutableBiMap<K,V> |
MutableBiMap.withoutAllKeys(Iterable<? extends K> keys) |
MutableBiMap<K,V> |
MutableBiMap.withoutKey(K key) |
Modifier and Type | Method and Description |
---|---|
<K,V> MutableBiMap<K,V> |
MutableBiMapFactory.empty() |
<K,V> MutableBiMap<K,V> |
MutableBiMapFactory.of()
Same as
MutableBiMapFactory.empty() . |
<K,V> MutableBiMap<K,V> |
MutableBiMapFactory.of(K key,
V value)
|
<K,V> MutableBiMap<K,V> |
MutableBiMapFactory.of(K key1,
V value1,
K key2,
V value2)
|
<K,V> MutableBiMap<K,V> |
MutableBiMapFactory.of(K key1,
V value1,
K key2,
V value2,
K key3,
V value3)
|
<K,V> MutableBiMap<K,V> |
MutableBiMapFactory.of(K key1,
V value1,
K key2,
V value2,
K key3,
V value3,
K key4,
V value4)
|
<K,V> MutableBiMap<K,V> |
MutableBiMapFactory.with()
Same as
MutableBiMapFactory.empty() . |
<K,V> MutableBiMap<K,V> |
MutableBiMapFactory.with(K key,
V value) |
<K,V> MutableBiMap<K,V> |
MutableBiMapFactory.with(K key1,
V value1,
K key2,
V value2) |
<K,V> MutableBiMap<K,V> |
MutableBiMapFactory.with(K key1,
V value1,
K key2,
V value2,
K key3,
V value3) |
<K,V> MutableBiMap<K,V> |
MutableBiMapFactory.with(K key1,
V value1,
K key2,
V value2,
K key3,
V value3,
K key4,
V value4) |
Modifier and Type | Method and Description |
---|---|
<K,V> ImmutableBiMap<K,V> |
ImmutableBiMapFactory.ofAll(MutableBiMap<K,V> biMap) |
<K,V> ImmutableBiMap<K,V> |
ImmutableBiMapFactory.withAll(MutableBiMap<K,V> biMap) |
Modifier and Type | Method and Description |
---|---|
<K,V> ImmutableBiMap<K,V> |
ImmutableBiMapFactoryImpl.ofAll(MutableBiMap<K,V> biMap) |
<K,V> ImmutableBiMap<K,V> |
ImmutableBiMapFactoryImpl.withAll(MutableBiMap<K,V> biMap) |
Modifier and Type | Class and Description |
---|---|
class |
HashBiMap<K,V>
A
MutableBiMap which uses two hash tables as its underlying data store. |
class |
SynchronizedBiMap<K,V> |
class |
UnmodifiableBiMap<K,V> |
Modifier and Type | Method and Description |
---|---|
MutableBiMap<K,V> |
UnmodifiableBiMap.asSynchronized() |
MutableBiMap<K,V> |
SynchronizedBiMap.asSynchronized() |
MutableBiMap<K,V> |
UnmodifiableBiMap.asUnmodifiable() |
MutableBiMap<K,V> |
SynchronizedBiMap.asUnmodifiable() |
MutableBiMap<K,V> |
UnmodifiableBiMap.clone() |
MutableBiMap<K,V> |
SynchronizedBiMap.clone() |
<K2,V2> MutableBiMap<K2,V2> |
UnmodifiableBiMap.collect(Function2<? super K,? super V,Pair<K2,V2>> function) |
<K2,V2> MutableBiMap<K2,V2> |
SynchronizedBiMap.collect(Function2<? super K,? super V,Pair<K2,V2>> function) |
<R> MutableBiMap<K,R> |
UnmodifiableBiMap.collectValues(Function2<? super K,? super V,? extends R> function) |
<R> MutableBiMap<K,R> |
SynchronizedBiMap.collectValues(Function2<? super K,? super V,? extends R> function) |
<K,V> MutableBiMap<K,V> |
MutableBiMapFactoryImpl.empty() |
MutableBiMap<V,K> |
UnmodifiableBiMap.flipUniqueValues() |
MutableBiMap<V,K> |
SynchronizedBiMap.flipUniqueValues() |
<VV> MutableBiMap<VV,V> |
UnmodifiableBiMap.groupByUniqueKey(Function<? super V,? extends VV> function) |
<VV> MutableBiMap<VV,V> |
SynchronizedBiMap.groupByUniqueKey(Function<? super V,? extends VV> function) |
MutableBiMap<V,K> |
UnmodifiableBiMap.inverse() |
MutableBiMap<V,K> |
SynchronizedBiMap.inverse() |
MutableBiMap<K,V> |
UnmodifiableBiMap.newEmpty() |
MutableBiMap<K,V> |
SynchronizedBiMap.newEmpty() |
<K,V> MutableBiMap<K,V> |
MutableBiMapFactoryImpl.of() |
<K,V> MutableBiMap<K,V> |
MutableBiMapFactoryImpl.of(K key,
V value) |
<K,V> MutableBiMap<K,V> |
MutableBiMapFactoryImpl.of(K key1,
V value1,
K key2,
V value2) |
<K,V> MutableBiMap<K,V> |
MutableBiMapFactoryImpl.of(K key1,
V value1,
K key2,
V value2,
K key3,
V value3) |
<K,V> MutableBiMap<K,V> |
MutableBiMapFactoryImpl.of(K key1,
V value1,
K key2,
V value2,
K key3,
V value3,
K key4,
V value4) |
MutableBiMap<K,V> |
UnmodifiableBiMap.reject(Predicate2<? super K,? super V> predicate) |
MutableBiMap<K,V> |
SynchronizedBiMap.reject(Predicate2<? super K,? super V> predicate) |
MutableBiMap<K,V> |
UnmodifiableBiMap.select(Predicate2<? super K,? super V> predicate) |
MutableBiMap<K,V> |
SynchronizedBiMap.select(Predicate2<? super K,? super V> predicate) |
MutableBiMap<K,V> |
UnmodifiableBiMap.tap(Procedure<? super V> procedure) |
MutableBiMap<K,V> |
SynchronizedBiMap.tap(Procedure<? super V> procedure) |
<K,V> MutableBiMap<K,V> |
MutableBiMapFactoryImpl.with() |
<K,V> MutableBiMap<K,V> |
MutableBiMapFactoryImpl.with(K key,
V value) |
<K,V> MutableBiMap<K,V> |
MutableBiMapFactoryImpl.with(K key1,
V value1,
K key2,
V value2) |
<K,V> MutableBiMap<K,V> |
MutableBiMapFactoryImpl.with(K key1,
V value1,
K key2,
V value2,
K key3,
V value3) |
<K,V> MutableBiMap<K,V> |
MutableBiMapFactoryImpl.with(K key1,
V value1,
K key2,
V value2,
K key3,
V value3,
K key4,
V value4) |
MutableBiMap<K,V> |
UnmodifiableBiMap.withAllKeyValueArguments(Pair<? extends K,? extends V>... keyValuePairs) |
MutableBiMap<K,V> |
SynchronizedBiMap.withAllKeyValueArguments(Pair<? extends K,? extends V>... keyValuePairs) |
MutableBiMap<K,V> |
UnmodifiableBiMap.withAllKeyValues(Iterable<? extends Pair<? extends K,? extends V>> keyValues) |
MutableBiMap<K,V> |
SynchronizedBiMap.withAllKeyValues(Iterable<? extends Pair<? extends K,? extends V>> keyValues) |
MutableBiMap<K,V> |
UnmodifiableBiMap.withKeyValue(K key,
V value) |
MutableBiMap<K,V> |
SynchronizedBiMap.withKeyValue(K key,
V value) |
MutableBiMap<K,V> |
UnmodifiableBiMap.withoutAllKeys(Iterable<? extends K> keys) |
MutableBiMap<K,V> |
SynchronizedBiMap.withoutAllKeys(Iterable<? extends K> keys) |
MutableBiMap<K,V> |
UnmodifiableBiMap.withoutKey(K key) |
MutableBiMap<K,V> |
SynchronizedBiMap.withoutKey(K key) |
Modifier and Type | Method and Description |
---|---|
static <K,V> UnmodifiableBiMap<K,V> |
UnmodifiableBiMap.of(MutableBiMap<K,V> biMap) |
static <K,V> SynchronizedBiMap<K,V> |
SynchronizedBiMap.of(MutableBiMap<K,V> map)
This method will take a MutableBiMap and wrap it directly in a SynchronizedBiMap.
|
Constructor and Description |
---|
UnmodifiableBiMap(MutableBiMap<K,V> delegate) |
Modifier and Type | Method and Description |
---|---|
static <T,K,V> Collector<T,?,MutableBiMap<K,V>> |
Collectors2.toBiMap(Function<? super T,? extends K> keyFunction,
Function<? super T,? extends V> valueFunction)
Returns the elements as a MutableBiMap applying the keyFunction and valueFunction to each element.
|
Constructor and Description |
---|
SynchronizedBiMapSerializationProxy(MutableBiMap<K,V> map) |
Copyright © 2004–2016. All rights reserved.