- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for testToMapWithNullValues (0.07 seconds)
-
android/guava-tests/test/com/google/common/collect/MapsTest.java
assertThrows( NullPointerException.class, () -> Maps.toMap((Iterable<String>) strings, Functions.constant("foo"))); } public void testToMapWithNullValues() { Iterable<String> strings = ImmutableList.of("one", "two", "three"); assertThrows(NullPointerException.class, () -> Maps.toMap(strings, Functions.constant(null))); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 22:56:33 GMT 2025 - 62.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/MapsTest.java
assertThrows( NullPointerException.class, () -> Maps.toMap((Iterable<String>) strings, Functions.constant("foo"))); } public void testToMapWithNullValues() { Iterable<String> strings = ImmutableList.of("one", "two", "three"); assertThrows(NullPointerException.class, () -> Maps.toMap(strings, Functions.constant(null))); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 22:56:33 GMT 2025 - 65K bytes - Click Count (0)