code: public boolean remove(Object o) {
          boolean ret = super.remove(WeakElement.create(o));
          processQueue();
          return ret;
      }
docs: Removes the given element from this set if it is present.
  
  @param o object to be removed from this set, if present.
  @return <code>true</code> if the set contained the specified element.