- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testToMapWithNullValues (0.19 sec)
-
guava-tests/test/com/google/common/collect/MapsTest.java
try { Maps.toMap((Iterable<String>) strings, Functions.constant("foo")); fail(); } catch (NullPointerException expected) { } } public void testToMapWithNullValues() { Iterable<String> strings = ImmutableList.of("one", "two", "three"); try { Maps.toMap(strings, Functions.constant(null)); fail(); } catch (NullPointerException expected) { }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 17 15:27:58 UTC 2024 - 67.1K bytes - Viewed (0)