Adds the objects in the specified collection which do not exist yet in this set. @param collection the collection of objects. @return true if this set is modified, false otherwise. @throws UnsupportedOperationException when adding to this set is not supported.
(Collection<? extends E> collection)
| 56 | * when an object cannot be added to this set. |
| 57 | */ |
| 58 | public boolean addAll(Collection<? extends E> collection); |
| 59 | |
| 60 | /** |
| 61 | * Removes all elements from this set, leaving it empty. |