# | Line 1678 | Line 1678 | public class ConcurrentHashMapV8<K, V> | |
---|---|---|
1678 | * final String msg = ...; | |
1679 | * map.compute(key, new RemappingFunction<Key, String>() { | |
1680 | * public String remap(Key k, String v) { | |
1681 | < | * return (v == null) ? msg : v + msg;});}</pre> |
1681 | > | * return (v == null) ? msg : v + msg;});}}</pre> |
1682 | * | |
1683 | * @param key key with which the specified value is to be associated | |
1684 | * @param remappingFunction the function to compute a value |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |