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 |
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 |
|
*/ |
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 |
|
*/ |
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 |
|
*/ |