public boolean equals()

in finagle-thrift/src/main/java/com/twitter/finagle/thrift/thrift/Delegation.java [238:263]


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

    boolean this_present_src = true && this.isSetSrc();
    boolean that_present_src = true && that.isSetSrc();
    if (this_present_src || that_present_src) {
      if (!(this_present_src && that_present_src))
        return false;
      if (!this.src.equals(that.src))
        return false;
    }

    boolean this_present_dst = true && this.isSetDst();
    boolean that_present_dst = true && that.isSetDst();
    if (this_present_dst || that_present_dst) {
      if (!(this_present_dst && that_present_dst))
        return false;
      if (!this.dst.equals(that.dst))
        return false;
    }

    return true;
  }