boolean (Object o) { if (o == this) return true; if (o instanceof LookupItem item){ return Comparing.equal(myObject, item.myObject) && Objects.equals(myLookupString, item.myLookupString) && Comparing.equal(myAllLookupStrings, item.myAllLookupStrings) && Comparing.equal(myAttributes, item.myAttributes); } return false; }