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

Comparing jsr166/src/main/java/util/AbstractMap.java (file contents):
Revision 1.4 by dl, Tue Mar 8 12:27:06 2005 UTC vs.
Revision 1.5 by dl, Wed Mar 23 11:20:27 2005 UTC

# Line 205 | Line 205 | public abstract class AbstractMap<K,V> i
205       * @param key key with which the specified value is to be associated.
206       * @param value value to be associated with the specified key.
207       *
208 <     * @return previous value associated with specified key, or <tt>null</tt>
208 >     * @return the previous value associated with specified key, or <tt>null</tt>
209       *         if there was no mapping for key.  (A <tt>null</tt> return can
210       *         also indicate that the map previously associated <tt>null</tt>
211       *         with the specified key, if the implementation supports
# Line 247 | Line 247 | public abstract class AbstractMap<K,V> i
247       * mapping for the specified key.
248       *
249       * @param key key whose mapping is to be removed from the map.
250 <     * @return previous value associated with specified key, or <tt>null</tt>
250 >     * @return the previous value associated with specified key, or <tt>null</tt>
251       *         if there was no entry for key.  (A <tt>null</tt> return can
252       *         also indicate that the map previously associated <tt>null</tt>
253       *         with the specified key, if the implementation supports
# Line 692 | Line 692 | public abstract class AbstractMap<K,V> i
692           * value.
693           *
694           * @param value new value to be stored in this entry.
695 <         * @return old value corresponding to the entry.
695 >         * @return the old value corresponding to the entry.
696           */
697          public V setValue(V value) {
698              V oldValue = this.value;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines