public boolean equals()

in java/com/jetbrains/cef/remote/thrift_codegen/ResponseData.java [295:329]


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

    boolean this_present_continueRead = true && this.isSetContinueRead();
    boolean that_present_continueRead = true && that.isSetContinueRead();
    if (this_present_continueRead || that_present_continueRead) {
      if (!(this_present_continueRead && that_present_continueRead))
        return false;
      if (this.continueRead != that.continueRead)
        return false;
    }

    boolean this_present_data = true && this.isSetData();
    boolean that_present_data = true && that.isSetData();
    if (this_present_data || that_present_data) {
      if (!(this_present_data && that_present_data))
        return false;
      if (!this.data.equals(that.data))
        return false;
    }

    boolean this_present_bytes_read = true && this.isSetBytes_read();
    boolean that_present_bytes_read = true && that.isSetBytes_read();
    if (this_present_bytes_read || that_present_bytes_read) {
      if (!(this_present_bytes_read && that_present_bytes_read))
        return false;
      if (this.bytes_read != that.bytes_read)
        return false;
    }

    return true;
  }