public boolean equals()

in src/main/thrift-gen-java/org/apache/accumulo/proxy/thrift/IteratorSetting.java [378:421]


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

    boolean this_present_priority = true;
    boolean that_present_priority = true;
    if (this_present_priority || that_present_priority) {
      if (!(this_present_priority && that_present_priority))
        return false;
      if (this.priority != that.priority)
        return false;
    }

    boolean this_present_name = true && this.isSetName();
    boolean that_present_name = true && that.isSetName();
    if (this_present_name || that_present_name) {
      if (!(this_present_name && that_present_name))
        return false;
      if (!this.name.equals(that.name))
        return false;
    }

    boolean this_present_iteratorClass = true && this.isSetIteratorClass();
    boolean that_present_iteratorClass = true && that.isSetIteratorClass();
    if (this_present_iteratorClass || that_present_iteratorClass) {
      if (!(this_present_iteratorClass && that_present_iteratorClass))
        return false;
      if (!this.iteratorClass.equals(that.iteratorClass))
        return false;
    }

    boolean this_present_properties = true && this.isSetProperties();
    boolean that_present_properties = true && that.isSetProperties();
    if (this_present_properties || that_present_properties) {
      if (!(this_present_properties && that_present_properties))
        return false;
      if (!this.properties.equals(that.properties))
        return false;
    }

    return true;
  }