- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testToMapWithNullKeys (0.08 sec)
-
android/guava-tests/test/com/google/common/collect/MapsTest.java
assertThat(map.entrySet()) .containsExactly(mapEntry("one", 3), mapEntry("two", 3), mapEntry("three", 5)) .inOrder(); } public void testToMapWithNullKeys() { Iterable<@Nullable String> strings = asList("one", null, "three"); assertThrows( NullPointerException.class, () -> Maps.toMap((Iterable<String>) strings, Functions.constant("foo")));
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 22:56:33 UTC 2025 - 62.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MapsTest.java
assertThat(map.entrySet()) .containsExactly(mapEntry("one", 3), mapEntry("two", 3), mapEntry("three", 5)) .inOrder(); } public void testToMapWithNullKeys() { Iterable<@Nullable String> strings = asList("one", null, "three"); assertThrows( NullPointerException.class, () -> Maps.toMap((Iterable<String>) strings, Functions.constant("foo")));
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 22:56:33 UTC 2025 - 65K bytes - Viewed (0)