- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testIndex_nullValue (0.13 sec)
-
android/guava-tests/test/com/google/common/collect/FluentIterableTest.java
NullPointerException.class, () -> { ImmutableListMultimap<Object, Integer> unused = fluent(1, 2, 3).index(Functions.constant(null)); }); } public void testIndex_nullValue() { assertThrows( NullPointerException.class, () -> { ImmutableListMultimap<String, Integer> unused = fluent(1, null, 2).index(Functions.constant("foo"));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 30.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MultimapsTest.java
} }; Multimap<Integer, String> index = Multimaps.index(badGuys, stringLengthFunction); assertEquals(expectedIndex, index); } public void testIndex_nullValue() { List<@Nullable Integer> values = Arrays.asList(1, null); assertThrows( NullPointerException.class, () -> Multimaps.index((List<Integer>) values, Functions.identity())); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 38.4K bytes - Viewed (0)