- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for testOfNullKey (0.07 seconds)
-
android/guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java
5, "six", 6, "seven", 7, "eight", 8, "nine", 9, "ten", 10); } public void testOfNullKey() { assertThrows(NullPointerException.class, () -> ImmutableBiMap.of(null, 1)); assertThrows(NullPointerException.class, () -> ImmutableBiMap.of("one", 1, null, 2)); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 21.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java
1, "seven", 7, "six", 6, "ten", 10, "three", 3, "two", 2); } public void testOfNullKey() { Integer n = null; assertThrows(NullPointerException.class, () -> ImmutableSortedMap.of(n, 1)); assertThrows(NullPointerException.class, () -> ImmutableSortedMap.of("one", 1, null, 2)); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 29.8K bytes - Click Count (0)