if (!(o instanceof SelectedTag)) {
if ((o == null) || !(o.getClass().equals(this.getClass()))) {
  public boolean equals(Object o) {        if (!(o instanceof SelectedTag)) {      return false;    }    SelectedTag s = (SelectedTag)o;    if ((s.getTags() == m_Tags)	&& (s.getSelectedTag() == m_Tags[m_Selected])) {      return true;    } else {      return false;    }  }