code: public boolean replace(Object e1, Object e2) {
          return replace(fromObject(e1),fromObject(e2));
      }
docs: Replaces the element.
  @param e1 original
  @param e2 replacement
  @return true if element was replaced