@NotNull
  public static <T, U> List<Pair<T, U>> mapToList(Map<T, U> map) {
    return ContainerUtil.map(map.entrySet(), tuEntry -> Pair.create(tuEntry.getKey(), tuEntry.getValue()));
  }
@NotNull
  public static <T, U> List<Pair<T, U>> mapToList(Map<T, U> map)