public boolean equals()

in AsynchronousRatchetingTree/src/main/java/com/facebook/research/asynchronousratchetingtree/art/message/thrift/UpdateMessageStruct.java [254:279]


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

    boolean this_present_leafNum = true;
    boolean that_present_leafNum = true;
    if (this_present_leafNum || that_present_leafNum) {
      if (!(this_present_leafNum && that_present_leafNum))
        return false;
      if (this.leafNum != that.leafNum)
        return false;
    }

    boolean this_present_path = true && this.isSetPath();
    boolean that_present_path = true && that.isSetPath();
    if (this_present_path || that_present_path) {
      if (!(this_present_path && that_present_path))
        return false;
      if (!this.path.equals(that.path))
        return false;
    }

    return true;
  }