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 |
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 |
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; |