public boolean equals(Object object) {
    if (!(object instanceof ThreadData)) {
      return false;
    }
    return myThread.equals(((ThreadData)object).myThread);
  }
public boolean equals(Object object)