code: public static <K, V> Map<V, K> inverse(Map<K, V> map) {
          return inverse(map, false);
      }
docs: Returns the inverse view of this map, and duplicated key is not allowed
  
  @param map the map to inverse
  @param <K> key type
  @param <V> value type
  @return the inverse view of this map