- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for NONE (0.11 sec)
-
android/guava/src/com/google/common/collect/MoreCollectors.java
* @return {@code Optional.of(onlyElement)} if the stream has exactly one element (must not be * {@code null}) and returns {@code Optional.empty()} if it has none. */ @SuppressWarnings("unchecked") public static <T> Collector<T, ?, Optional<T>> toOptional() { return (Collector) TO_OPTIONAL; } private static final Object NULL_PLACEHOLDER = new Object();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 5.7K bytes - Viewed (0)