Package Summary Overview Summary

### method:removeAll(java.util.Collection) [CHANGED]
### removeAll public boolean removeAll (Collection<?> c) Description copied from interfaceclass: `CollectionAbstractCollection` Removes all of this collection's elements that are also contained in the specified collection (optional operation). After this call returns, this collection will contain no elements in common with the specified collection. Specified by: `removeAll` in interface `Collection<E>` Overrides: `removeAll` in class `AbstractCollection<E>` Parameters: `c` - collection containing elements to be removed from this collection Returns: `true` if this collection changed as a result of the call Throws: `NullPointerException` - if this collection contains one or more null elements and the specified collection does not support null elements (optional), or if the specified collection is null See Also: `CollectionAbstractCollection.remove(Object)` `CollectionAbstractCollection.contains(Object)`
### removeAll public boolean removeAll (Collection<?> c) Description copied from interface: `Collection` Removes all of this collection's elements that are also contained in the specified collection (optional operation). After this call returns, this collection will contain no elements in common with the specified collection. Specified by: `removeAll` in interface `Collection<E>` Overrides: `removeAll` in class `AbstractCollection<E>` Parameters: `c` - collection containing elements to be removed from this collection Returns: `true` if this collection changed as a result of the call Throws: `NullPointerException` - if this collection contains one or more null elements and the specified collection does not support null elements (optional), or if the specified collection is null See Also: `Collection.remove(Object)` `Collection.contains(Object)` | ### removeAll public boolean removeAll (Collection<?> c) Description copied from class: `AbstractCollection` Removes all of this collection's elements that are also contained in the specified collection (optional operation). After this call returns, this collection will contain no elements in common with the specified collection. Specified by: `removeAll` in interface `Collection<E>` Overrides: `removeAll` in class `AbstractCollection<E>` Parameters: `c` - collection containing elements to be removed from this collection Returns: `true` if this collection changed as a result of the call Throws: `NullPointerException` - if this collection contains one or more null elements and the specified collection does not support null elements (optional), or if the specified collection is null See Also: `AbstractCollection.remove(Object)` `AbstractCollection.contains(Object)`

### method:retainAll(java.util.Collection) [CHANGED]
### retainAll public boolean retainAll (Collection<?> c) Description copied from interfaceclass: `CollectionAbstractCollection` Retains only the elements in this collection that are contained in the specified collection (optional operation). In other words, removes from this collection all of its elements that are not contained in the specified collection. Specified by: `retainAll` in interface `Collection<E>` Overrides: `retainAll` in class `AbstractCollection<E>` Parameters: `c` - collection containing elements to be retained in this collection Returns: `true` if this collection changed as a result of the call Throws: `NullPointerException` - if this collection contains one or more null elements and the specified collection does not permit null elements (optional), or if the specified collection is null See Also: `CollectionAbstractCollection.remove(Object)` `CollectionAbstractCollection.contains(Object)`
### retainAll public boolean retainAll (Collection<?> c) Description copied from interface: `Collection` Retains only the elements in this collection that are contained in the specified collection (optional operation). In other words, removes from this collection all of its elements that are not contained in the specified collection. Specified by: `retainAll` in interface `Collection<E>` Overrides: `retainAll` in class `AbstractCollection<E>` Parameters: `c` - collection containing elements to be retained in this collection Returns: `true` if this collection changed as a result of the call Throws: `NullPointerException` - if this collection contains one or more null elements and the specified collection does not permit null elements (optional), or if the specified collection is null See Also: `Collection.remove(Object)` `Collection.contains(Object)` | ### retainAll public boolean retainAll (Collection<?> c) Description copied from class: `AbstractCollection` Retains only the elements in this collection that are contained in the specified collection (optional operation). In other words, removes from this collection all of its elements that are not contained in the specified collection. Specified by: `retainAll` in interface `Collection<E>` Overrides: `retainAll` in class `AbstractCollection<E>` Parameters: `c` - collection containing elements to be retained in this collection Returns: `true` if this collection changed as a result of the call Throws: `NullPointerException` - if this collection contains one or more null elements and the specified collection does not permit null elements (optional), or if the specified collection is null See Also: `AbstractCollection.remove(Object)` `AbstractCollection.contains(Object)`

### method:clear() [CHANGED]
### clear public void clear() Description copied from interfaceclass: `CollectionAbstractQueue` Removes all of the elements from this collection (optional operation)queue. The collectionqueue will be empty after this methodcall returns. This implementation repeatedly invokes `poll` until it returns `null`. Specified by: `clear` in interface `Collection<E>` Overrides: `clear` in class `AbstractQueue<E>`
### clear public void clear() Description copied from interface: `Collection` Removes all of the elements from this collection (optional operation). The collection will be empty after this method returns. Specified by: `clear` in interface `Collection<E>` Overrides: `clear` in class `AbstractQueue<E>` | ### clear public void clear() Description copied from class: `AbstractQueue` Removes all of the elements from this queue. The queue will be empty after this call returns. This implementation repeatedly invokes `poll` until it returns `null`. Specified by: `clear` in interface `Collection<E>` Overrides: `clear` in class `AbstractQueue<E>`