- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for testToOptionalMany (0.08 seconds)
-
android/guava-tests/test/com/google/common/collect/MoreCollectorsTest.java
} public void testToOptionalMultipleWithNull() { assertThrows(NullPointerException.class, () -> Stream.of(1, null).collect(toOptional())); } public void testToOptionalMany() { IllegalArgumentException expected = assertThrows( IllegalArgumentException.class, () -> Stream.of(1, 2, 3, 4, 5, 6).collect(toOptional()));
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu May 15 21:47:56 GMT 2025 - 3.2K bytes - Click Count (0)