public boolean equals()

in zeppelin-interpreter/src/main/java/org/apache/zeppelin/interpreter/thrift/RunParagraphsEvent.java [395:438]


  public boolean equals(RunParagraphsEvent that) {
    if (that == null)
      return false;
    if (this == that)
      return true;

    boolean this_present_noteId = true && this.isSetNoteId();
    boolean that_present_noteId = true && that.isSetNoteId();
    if (this_present_noteId || that_present_noteId) {
      if (!(this_present_noteId && that_present_noteId))
        return false;
      if (!this.noteId.equals(that.noteId))
        return false;
    }

    boolean this_present_paragraphIds = true && this.isSetParagraphIds();
    boolean that_present_paragraphIds = true && that.isSetParagraphIds();
    if (this_present_paragraphIds || that_present_paragraphIds) {
      if (!(this_present_paragraphIds && that_present_paragraphIds))
        return false;
      if (!this.paragraphIds.equals(that.paragraphIds))
        return false;
    }

    boolean this_present_paragraphIndices = true && this.isSetParagraphIndices();
    boolean that_present_paragraphIndices = true && that.isSetParagraphIndices();
    if (this_present_paragraphIndices || that_present_paragraphIndices) {
      if (!(this_present_paragraphIndices && that_present_paragraphIndices))
        return false;
      if (!this.paragraphIndices.equals(that.paragraphIndices))
        return false;
    }

    boolean this_present_curParagraphId = true && this.isSetCurParagraphId();
    boolean that_present_curParagraphId = true && that.isSetCurParagraphId();
    if (this_present_curParagraphId || that_present_curParagraphId) {
      if (!(this_present_curParagraphId && that_present_curParagraphId))
        return false;
      if (!this.curParagraphId.equals(that.curParagraphId))
        return false;
    }

    return true;
  }