boolean (Object o) { if (this == o) return true; if (!(o instanceof Group)) return false; final StringGroup group = (StringGroup)o; if (myString != null ? !myString.equals(group.myString) : group.myString != null) return false; return true; }