- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for testBuilderPutNullValue (0.1 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java
assertThrows( NullPointerException.class, () -> builder.putAll((Multimap<String, Integer>) toPut)); } public void testBuilderPutNullValue() { Multimap<String, @Nullable Integer> toPut = LinkedListMultimap.create(); toPut.put("foo", null); ImmutableListMultimap.Builder<String, Integer> builder = ImmutableListMultimap.builder();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Nov 17 22:50:48 GMT 2025 - 25.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java
} public void testBuilderPutNullKey() { Builder<String, Integer> builder = new Builder<>(); assertThrows(NullPointerException.class, () -> builder.put(null, 1)); } public void testBuilderPutNullValue() { Builder<String, Integer> builder = new Builder<>(); assertThrows(NullPointerException.class, () -> builder.put("one", null)); } public void testBuilderPutNullKeyViaPutAll() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 36.7K bytes - Click Count (0)