# | Line 2138 | Line 2138 | public class ConcurrentSkipListMap<K,V> | |
---|---|---|
2138 | } | |
2139 | ||
2140 | /** | |
2141 | < | * Replace entry for key only if currently mapped to given value. |
2141 | > | * Replaces entry for key only if currently mapped to given value. |
2142 | * Acts as | |
2143 | * <pre> | |
2144 | * if ((map.containsKey(key) && map.get(key).equals(oldValue)) { | |
# | Line 2175 | Line 2175 | public class ConcurrentSkipListMap<K,V> | |
2175 | } | |
2176 | ||
2177 | /** | |
2178 | < | * Replace entry for key only if currently mapped to some value. |
2178 | > | * Replaces entry for key only if currently mapped to some value. |
2179 | * Acts as | |
2180 | * <pre> | |
2181 | * if ((map.containsKey(key)) { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |