# | Line 850 | Line 850 | public class ConcurrentHashMapTest exten | |
---|---|---|
850 | } catch (IllegalStateException success) {} | |
851 | } | |
852 | ||
853 | < | static private Item findValue(ConcurrentHashMap<Item, Item> map, |
853 | > | private static Item findValue(ConcurrentHashMap<Item, Item> map, |
854 | Item key) { | |
855 | return (key.value % 5 == 0) ? key : | |
856 | map.computeIfAbsent(new Item(key.value + 1), k -> new Item(findValue(map, k))); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |