public static <K, V> Collector<Map.Entry<K, V>, ?, BiMap<K, V>> toHashBiMap() {
        return toMap(HashBiMap::create);
    }
Returns a {@code Collector} that accumulates {@code Map.Entry<K, V>} input elements into a
{@code HashBiMap<K, V>}. The returned collector will throw {@code IllegalStateException}
whenever a set of input elements contains multiple entries with the same key.

@param <K> the type of map keys
@param <V> the type of map values
@return a {@code Collector} which collects map entry elements into a {@code HashBiMap},
in encounter order.
guava/src/main/java/org/jdbi/v3/guava/GuavaCollectors.java