boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; AttributesFlyweight that = (AttributesFlyweight)o; if (myFontType != that.myFontType) return false; if (!Objects.equals(myBackground, that.myBackground)) return false; if (!Objects.equals(myEffectColor, that.myEffectColor)) return false; if (myEffectType != that.myEffectType) return false; if (!Objects.equals(myErrorStripeColor, that.myErrorStripeColor)) return false; if (!Objects.equals(myForeground, that.myForeground)) return false; if (!myAdditionalEffects.equals(that.myAdditionalEffects)) return false; return true; }