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