PPT Slide
Method Summary for Interface Collection - Continued
boolean equals(Object o) Compares the specified object with this collection for equality.
int hashCode() Returns the hash code value for this collection. boolean isEmpty() Returns true if this collection contains no elements.
boolean remove(Object o) Removes a single instance of the specified element from this collection, if it is present (optional operation).
boolean removeAll(Collection c) Removes all this collection's elements that are also contained in the specified collection (optional operation).