PPT Slide
Method Summary for Abstract Collection
boolean add(Object o) Ensures that this collection contains the specified element (optional operation).
boolean addAll(Collection c) Adds all of the elements in the specified collection to this collection (optional operation).
void clear() Removes all of the elements from this collection (optional operation).
boolean contains(Object o) Returns true if this collection contains the specified element.
boolean containsAll(Collection c) Returns true if this collection contains all of the elements in the specified collection.