equal
deleted
inserted
replaced
101 * @param value value expected to be associated with the specified key |
101 * @param value value expected to be associated with the specified key |
102 * @return <tt>true</tt> if the value was removed |
102 * @return <tt>true</tt> if the value was removed |
103 * @throws UnsupportedOperationException if the <tt>remove</tt> operation |
103 * @throws UnsupportedOperationException if the <tt>remove</tt> operation |
104 * is not supported by this map |
104 * is not supported by this map |
105 * @throws ClassCastException if the key or value is of an inappropriate |
105 * @throws ClassCastException if the key or value is of an inappropriate |
106 * type for this map (optional) |
106 * type for this map |
|
107 * (<a href="../Collection.html#optional-restrictions">optional</a>) |
107 * @throws NullPointerException if the specified key or value is null, |
108 * @throws NullPointerException if the specified key or value is null, |
108 * and this map does not permit null keys or values (optional) |
109 * and this map does not permit null keys or values |
|
110 * (<a href="../Collection.html#optional-restrictions">optional</a>) |
109 */ |
111 */ |
110 boolean remove(Object key, Object value); |
112 boolean remove(Object key, Object value); |
111 |
113 |
112 /** |
114 /** |
113 * Replaces the entry for a key only if currently mapped to a given value. |
115 * Replaces the entry for a key only if currently mapped to a given value. |