code: @NotNull
      public static <K, V> Stream<Map.Entry<K, V>> of(@NotNull Map<K, V> map) {
          Objects.requireNonNull(map);
          return new Stream<Map.Entry<K, V>>(map.entrySet());
      }
docs: Creates a {@code Stream} from {@code Map} entries.
  
  @param <K> the type of map keys
  @param <V> the type of map values
  @param map  the map with elements to be passed to stream
  @return the new stream
  @throws NullPointerException if {@code map} is null