- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for computeIfPresent (0.19 sec)
-
guava-tests/test/com/google/common/collect/MapsTest.java
try { unmod.computeIfAbsent(3, (k) -> k + "three"); fail("UnsupportedOperationException expected"); } catch (UnsupportedOperationException expected) { } try { unmod.computeIfPresent(4, (k, v) -> v); fail("UnsupportedOperationException expected"); } catch (UnsupportedOperationException expected) { } try { unmod.compute(4, (k, v) -> v);
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Mar 04 16:06:01 GMT 2024 - 67.2K bytes - Viewed (0)