docs: @Deprecated
  	public static <K, V> Map<V, K> inverse(Map<K, V> map) {
  		Map<V, K> inverseMap;
  		if (map instanceof LinkedHashMap) {
  			inverseMap = new LinkedHashMap<>(map.size());
  		} else if (map instanceof TreeMap) {
  			inverseMap = new TreeMap<>();
  		} else {
  			inverseMap = new HashMap<>(map.size());
  		}
  
  		for (Entry<K, V> entry : map.entrySet()) {
  			inverseMap.put(entry.getValue(), entry.getKey());
  		}
  		return inverseMap;
  	}