public boolean equals()

in core/src/main/thrift-gen-java/org/apache/accumulo/core/dataImpl/thrift/MultiScanResult.java [584:654]


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

    boolean this_present_results = true && this.isSetResults();
    boolean that_present_results = true && that.isSetResults();
    if (this_present_results || that_present_results) {
      if (!(this_present_results && that_present_results))
        return false;
      if (!this.results.equals(that.results))
        return false;
    }

    boolean this_present_failures = true && this.isSetFailures();
    boolean that_present_failures = true && that.isSetFailures();
    if (this_present_failures || that_present_failures) {
      if (!(this_present_failures && that_present_failures))
        return false;
      if (!this.failures.equals(that.failures))
        return false;
    }

    boolean this_present_fullScans = true && this.isSetFullScans();
    boolean that_present_fullScans = true && that.isSetFullScans();
    if (this_present_fullScans || that_present_fullScans) {
      if (!(this_present_fullScans && that_present_fullScans))
        return false;
      if (!this.fullScans.equals(that.fullScans))
        return false;
    }

    boolean this_present_partScan = true && this.isSetPartScan();
    boolean that_present_partScan = true && that.isSetPartScan();
    if (this_present_partScan || that_present_partScan) {
      if (!(this_present_partScan && that_present_partScan))
        return false;
      if (!this.partScan.equals(that.partScan))
        return false;
    }

    boolean this_present_partNextKey = true && this.isSetPartNextKey();
    boolean that_present_partNextKey = true && that.isSetPartNextKey();
    if (this_present_partNextKey || that_present_partNextKey) {
      if (!(this_present_partNextKey && that_present_partNextKey))
        return false;
      if (!this.partNextKey.equals(that.partNextKey))
        return false;
    }

    boolean this_present_partNextKeyInclusive = true;
    boolean that_present_partNextKeyInclusive = true;
    if (this_present_partNextKeyInclusive || that_present_partNextKeyInclusive) {
      if (!(this_present_partNextKeyInclusive && that_present_partNextKeyInclusive))
        return false;
      if (this.partNextKeyInclusive != that.partNextKeyInclusive)
        return false;
    }

    boolean this_present_more = true;
    boolean that_present_more = true;
    if (this_present_more || that_present_more) {
      if (!(this_present_more && that_present_more))
        return false;
      if (this.more != that.more)
        return false;
    }

    return true;
  }