public boolean equals()

in java/com/jetbrains/cef/remote/thrift_codegen/PostData.java [366:409]


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

    boolean this_present_isNull = true;
    boolean that_present_isNull = true;
    if (this_present_isNull || that_present_isNull) {
      if (!(this_present_isNull && that_present_isNull))
        return false;
      if (this.isNull != that.isNull)
        return false;
    }

    boolean this_present_isReadOnly = true;
    boolean that_present_isReadOnly = true;
    if (this_present_isReadOnly || that_present_isReadOnly) {
      if (!(this_present_isReadOnly && that_present_isReadOnly))
        return false;
      if (this.isReadOnly != that.isReadOnly)
        return false;
    }

    boolean this_present_hasExcludedElements = true;
    boolean that_present_hasExcludedElements = true;
    if (this_present_hasExcludedElements || that_present_hasExcludedElements) {
      if (!(this_present_hasExcludedElements && that_present_hasExcludedElements))
        return false;
      if (this.hasExcludedElements != that.hasExcludedElements)
        return false;
    }

    boolean this_present_elements = true && this.isSetElements();
    boolean that_present_elements = true && that.isSetElements();
    if (this_present_elements || that_present_elements) {
      if (!(this_present_elements && that_present_elements))
        return false;
      if (!this.elements.equals(that.elements))
        return false;
    }

    return true;
  }