(Collection<? extends K> collection)
| 193 | } |
| 194 | |
| 195 | public boolean addAll(Collection<? extends K> collection) { |
| 196 | boolean change = false; |
| 197 | for (K k: collection) if (add(k)) change = true; |
| 198 | return change; |
| 199 | } |
| 200 | |
| 201 | public boolean remove(Object key) { |
| 202 | return set.removeAndReturn(new MyEntry(key, null)) != null; |