public boolean equals()

in src/main/thrift-gen-java/org/apache/accumulo/proxy/thrift/Range.java [363:406]


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

    boolean this_present_start = true && this.isSetStart();
    boolean that_present_start = true && that.isSetStart();
    if (this_present_start || that_present_start) {
      if (!(this_present_start && that_present_start))
        return false;
      if (!this.start.equals(that.start))
        return false;
    }

    boolean this_present_startInclusive = true;
    boolean that_present_startInclusive = true;
    if (this_present_startInclusive || that_present_startInclusive) {
      if (!(this_present_startInclusive && that_present_startInclusive))
        return false;
      if (this.startInclusive != that.startInclusive)
        return false;
    }

    boolean this_present_stop = true && this.isSetStop();
    boolean that_present_stop = true && that.isSetStop();
    if (this_present_stop || that_present_stop) {
      if (!(this_present_stop && that_present_stop))
        return false;
      if (!this.stop.equals(that.stop))
        return false;
    }

    boolean this_present_stopInclusive = true;
    boolean that_present_stopInclusive = true;
    if (this_present_stopInclusive || that_present_stopInclusive) {
      if (!(this_present_stopInclusive && that_present_stopInclusive))
        return false;
      if (this.stopInclusive != that.stopInclusive)
        return false;
    }

    return true;
  }