code: public static <K, V> HashBiMap<K, V> create(Map<? extends K, ? extends V> map) {
      HashBiMap<K, V> bimap = create(map.size());
      bimap.putAll(map);
      return bimap;
    }
docs: Constructs a new bimap containing initial values from {@code map}. The bimap is created with an
  initial capacity sufficient to hold the mappings in the specified map.