boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; MyFileEditorState state = (MyFileEditorState)o; return mySplitLayout == state.mySplitLayout && Objects.equals(myFirstState, state.myFirstState) && Objects.equals(mySecondState, state.mySecondState); }