docs: public static <K, V> Map<K, V> newMap(
              Collection<Map.Entry<K, V>> collection) {
          return collection.stream()
                  .collect(toMap(Map.Entry::getKey, Map.Entry::getValue));
      }