- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testImmutableEntry (0.05 sec)
-
android/guava-tests/test/com/google/common/collect/MapsTest.java
Entry<Integer, String> entry2 = (Entry<Integer, String>) entries.toArray()[0]; assertThrows(UnsupportedOperationException.class, () -> entry2.setValue("four")); } public void testImmutableEntry() { Entry<String, Integer> e = immutableEntry("foo", 1); assertEquals("foo", e.getKey()); assertEquals(1, (int) e.getValue()); assertThrows(UnsupportedOperationException.class, () -> e.setValue(2));
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 22:56:33 UTC 2025 - 62.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MapsTest.java
Entry<Integer, String> entry2 = (Entry<Integer, String>) entries.toArray()[0]; assertThrows(UnsupportedOperationException.class, () -> entry2.setValue("four")); } public void testImmutableEntry() { Entry<String, Integer> e = immutableEntry("foo", 1); assertEquals("foo", e.getKey()); assertEquals(1, (int) e.getValue()); assertThrows(UnsupportedOperationException.class, () -> e.setValue(2));
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 22:56:33 UTC 2025 - 65K bytes - Viewed (0)