- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestPull (0.18 sec)
-
android/guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java
assertEquals(7, (int) newValue); assertEquals(7, (int) map.getInstance(TypeToken.of(Integer.class))); // Won't compile: map.putInstance(Double.class, new Long(42)); } public void testNull() { assertThrows( NullPointerException.class, () -> map.putInstance((TypeToken<Integer>) null, Integer.valueOf(1))); map.putInstance(Integer.class, null);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 17:15:24 UTC 2024 - 7.9K bytes - Viewed (0)