# | Line 10 | Line 10 | import java.util.Map; | |
---|---|---|
10 | /** | |
11 | * A {@link java.util.Map} providing an additional atomic | |
12 | * <tt>putIfAbsent</tt> method. | |
13 | < | **/ |
13 | > | * @since 1.5 |
14 | > | * @author Doug Lea |
15 | > | */ |
16 | public interface ConcurrentMap<K, V> extends Map<K, V> { | |
17 | /** | |
18 | * If the specified key is not already associated | |
# | Line 40 | Line 42 | public interface ConcurrentMap<K, V> ext | |
42 | * <tt>null</tt>. | |
43 | * | |
44 | **/ | |
45 | < | public V putIfAbsent(K key, V value); |
45 | > | V putIfAbsent(K key, V value); |
46 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |