@Deprecated
  public static <T, V> V getOrCreate(@NotNull Map<T, V> result, T key, @NotNull Factory<? extends V> factory) {
    return result.computeIfAbsent(key, __ -> factory.create());
  }
@Deprecated
  public static <T, V> V getOrCreate(@NotNull Map<T, V> result, T key, @NotNull Factory<? extends V> factory)