85 |
|
* finding such an entry, <tt>false</tt> is returned. Note that this |
86 |
|
* implementation requires linear time in the size of the map. |
87 |
|
* |
88 |
– |
* @throws NullPointerException {@inheritDoc} |
88 |
|
* @throws ClassCastException {@inheritDoc} |
89 |
+ |
* @throws NullPointerException {@inheritDoc} |
90 |
|
*/ |
91 |
|
public boolean containsValue(Object value) { |
92 |
|
Iterator<Entry<K,V>> i = entrySet().iterator(); |
116 |
|
* implementation requires linear time in the size of the map; many |
117 |
|
* implementations will override this method. |
118 |
|
* |
119 |
– |
* @throws NullPointerException {@inheritDoc} |
119 |
|
* @throws ClassCastException {@inheritDoc} |
120 |
+ |
* @throws NullPointerException {@inheritDoc} |
121 |
|
*/ |
122 |
|
public boolean containsKey(Object key) { |
123 |
|
Iterator<Map.Entry<K,V>> i = entrySet().iterator(); |
147 |
|
* implementation requires linear time in the size of the map; many |
148 |
|
* implementations will override this method. |
149 |
|
* |
150 |
– |
* @throws NullPointerException {@inheritDoc} |
150 |
|
* @throws ClassCastException {@inheritDoc} |
151 |
+ |
* @throws NullPointerException {@inheritDoc} |
152 |
|
*/ |
153 |
|
public V get(Object key) { |
154 |
|
Iterator<Entry<K,V>> i = entrySet().iterator(); |
178 |
|
* <tt>UnsupportedOperationException</tt>. |
179 |
|
* |
180 |
|
* @throws UnsupportedOperationException {@inheritDoc} |
181 |
– |
* @throws NullPointerException {@inheritDoc} |
181 |
|
* @throws ClassCastException {@inheritDoc} |
182 |
+ |
* @throws NullPointerException {@inheritDoc} |
183 |
|
* @throws IllegalArgumentException {@inheritDoc} |
184 |
|
*/ |
185 |
|
public V put(K key, V value) { |
204 |
|
* contains a mapping for the specified key. |
205 |
|
* |
206 |
|
* @throws UnsupportedOperationException {@inheritDoc} |
207 |
– |
* @throws NullPointerException {@inheritDoc} |
207 |
|
* @throws ClassCastException {@inheritDoc} |
208 |
+ |
* @throws NullPointerException {@inheritDoc} |
209 |
|
*/ |
210 |
|
public V remove(Object key) { |
211 |
|
Iterator<Entry<K,V>> i = entrySet().iterator(); |
247 |
|
* the <tt>put</tt> operation and the specified map is nonempty. |
248 |
|
* |
249 |
|
* @throws UnsupportedOperationException {@inheritDoc} |
250 |
– |
* @throws NullPointerException {@inheritDoc} |
250 |
|
* @throws ClassCastException {@inheritDoc} |
251 |
+ |
* @throws NullPointerException {@inheritDoc} |
252 |
|
* @throws IllegalArgumentException {@inheritDoc} |
253 |
|
*/ |
254 |
|
public void putAll(Map<? extends K, ? extends V> m) { |