Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for StreamOf (0.04 sec)

  1. src/main/java/org/codelibs/core/stream/StreamUtil.java

         * @param map the map to create a stream from; if {@code null}, an empty stream is returned
         * @return a {@link StreamOf} containing the entries of the map, or an empty stream if the map is {@code null}
         */
        public static <K, V> StreamOf<Map.Entry<K, V>> stream(final Map<K, V> map) {
            return new StreamOf<>(() -> map != null ? map.entrySet().stream() : Collections.<K, V> emptyMap().entrySet().stream());
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 4.4K bytes
    - Viewed (0)
Back to top