public boolean equals(Object object) {
    if (!(object instanceof LocalData)) return false;

    return ((LocalData)object).myLocalVariable.equals(myLocalVariable);
  }
public boolean equals(Object object)