| Package | Description |
|---|---|
| org.eclipse.collections.api.bimap |
This package contains interfaces for BiMap API.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
ImmutableBiMap<K,V>
A
BiMap whose contents cannot be altered after initialization. |
interface |
MutableBiMap<K,V>
A
BiMap whose contents can be altered after initialization. |
| Modifier and Type | Method and Description |
|---|---|
<K2,V2> BiMap<K2,V2> |
BiMap.collect(Function2<? super K,? super V,Pair<K2,V2>> function)
For each key and value of the map the function is evaluated.
|
<R> BiMap<K,R> |
BiMap.collectValues(Function2<? super K,? super V,? extends R> function)
For each key and value of the map the function is evaluated.
|
BiMap<V,K> |
BiMap.flipUniqueValues() |
<VV> BiMap<VV,V> |
BiMap.groupByUniqueKey(Function<? super V,? extends VV> function) |
BiMap<V,K> |
BiMap.inverse()
Returns an inversed view of this BiMap, where the associations are in the direction of this bimap's values to keys.
|
BiMap<K,V> |
BiMap.reject(Predicate2<? super K,? super V> predicate) |
BiMap<K,V> |
BiMap.select(Predicate2<? super K,? super V> predicate) |
BiMap<K,V> |
BiMap.tap(Procedure<? super V> procedure) |
Copyright © 2004–2023. All rights reserved.