Package | Description |
---|---|
com.gs.collections.api.bimap |
This package contains interfaces for BiMap API.
|
com.gs.collections.impl.bimap.mutable |
This package contains implementations of the
MutableBiMap interface. |
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) |
<R> BiMap<K,R> |
BiMap.collectValues(Function2<? super K,? super V,? extends R> 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) |
Modifier and Type | Class and Description |
---|---|
class |
HashBiMap<K,V>
A
MutableBiMap which uses two hash tables as its underlying data store. |
Copyright © 2004–2018. All rights reserved.