- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for StreamOf (0.04 sec)
-
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)