ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/concurrent/ConcurrentMap.java
(Generate patch)

Comparing jsr166/src/main/java/util/concurrent/ConcurrentMap.java (file contents):
Revision 1.21 by jsr166, Tue Apr 26 01:43:01 2005 UTC vs.
Revision 1.22 by jsr166, Wed Apr 27 01:07:23 2005 UTC

# Line 40 | Line 40 | public interface ConcurrentMap<K, V> ext
40       *         also indicate that the map previously associated <tt>null</tt>
41       *         with the specified key, if the implementation supports
42       *         <tt>null</tt> values.
43 <     * @throws UnsupportedOperationException if the <tt>put</tt> operation is
44 <     *         not supported by this map.
43 >     * @throws UnsupportedOperationException if the <tt>put</tt> operation
44 >     *         is not supported by this map.
45       * @throws ClassCastException if the class of the specified key or value
46       *         prevents it from being stored in this map.
47       * @throws IllegalArgumentException if some aspect of this key or value
# Line 66 | Line 66 | public interface ConcurrentMap<K, V> ext
66       * @param key key with which the specified value is associated.
67       * @param value value associated with the specified key.
68       * @return true if the value was removed, false otherwise
69 <     * @throws UnsupportedOperationException if the <tt>remove</tt> operation is
70 <     *         not supported by this map.
69 >     * @throws UnsupportedOperationException if the <tt>remove</tt> operation
70 >     *         is not supported by this map.
71       * @throws NullPointerException if this map does not permit <tt>null</tt>
72       *         keys or values, and the specified key or value is <tt>null</tt>.
73       */
# Line 88 | Line 88 | public interface ConcurrentMap<K, V> ext
88       * @param oldValue value expected to be associated with the specified key.
89       * @param newValue value to be associated with the specified key.
90       * @return true if the value was replaced
91 <     * @throws UnsupportedOperationException if the <tt>put</tt> operation is
92 <     *         not supported by this map.
91 >     * @throws UnsupportedOperationException if the <tt>put</tt> operation
92 >     *         is not supported by this map.
93       * @throws NullPointerException if this map does not permit <tt>null</tt>
94       *         keys or values, and the specified key or value is <tt>null</tt>.
95       */
# Line 112 | Line 112 | public interface ConcurrentMap<K, V> ext
112       *         also indicate that the map previously associated <tt>null</tt>
113       *         with the specified key, if the implementation supports
114       *         <tt>null</tt> values.
115 <     * @throws UnsupportedOperationException if the <tt>put</tt> operation is
116 <     *         not supported by this map.
115 >     * @throws UnsupportedOperationException if the <tt>put</tt> operation
116 >     *         is not supported by this map.
117       * @throws NullPointerException if this map does not permit <tt>null</tt>
118       *         keys or values, and the specified key or value is <tt>null</tt>.
119       */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines