toBiMap method

BiMap<K, V> toBiMap()

Converts this Map to an equivalent BiMap.

Implementation

BiMap<K, V> toBiMap() => BiMap.of(this);