/* * Removes an occurrence of the specified object from this {@code TreeSet}. * * @param object * the object to remove. * @return {@code true} if this {@code TreeSet} was modified, {@code false} * otherwise. * @throws ClassCastException * when the object cannot be compared with the elements in this * {@code TreeSet}. * @throws NullPointerException * when the object is null and the comparator cannot handle * null. */ public override bool remove(Object obj) { return(backingMap.remove(obj) != null); }