# | Line 2094 | Line 2094 | public class ConcurrentSkipListMap<K,V> | |
---|---|---|
2094 | * This is equivalent to | |
2095 | * <pre> | |
2096 | * if (!map.containsKey(key)) | |
2097 | < | * return map.put(key, value); |
2097 | > | * return map.put(key, value); |
2098 | * else | |
2099 | < | * return map.get(key); |
2099 | > | * return map.get(key); |
2100 | * </pre> | |
2101 | * except that the action is performed atomically. | |
2102 | * @param key key with which the specified value is to be associated. |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |