- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for testImmutableEntry (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
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));
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 22:56:33 GMT 2025 - 62.7K bytes - Click Count (0)