boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; SimpleTextAttributes that = (SimpleTextAttributes)o; return myStyle == that.myStyle && Objects.equals(myBgColor, that.myBgColor) && Objects.equals(myFgColor, that.myFgColor) && Objects.equals(myWaveColor, that.myWaveColor); }