public int hashCode()

in AsynchronousRatchetingTree/src/main/java/com/facebook/research/asynchronousratchetingtree/art/message/thrift/SetupMessageStruct.java [487:509]


  public int hashCode() {
    int hashCode = 1;

    hashCode = hashCode * 8191 + leafNum;

    hashCode = hashCode * 8191 + ((isSetIdentities()) ? 131071 : 524287);
    if (isSetIdentities())
      hashCode = hashCode * 8191 + identities.hashCode();

    hashCode = hashCode * 8191 + ((isSetEphemeralKeys()) ? 131071 : 524287);
    if (isSetEphemeralKeys())
      hashCode = hashCode * 8191 + ephemeralKeys.hashCode();

    hashCode = hashCode * 8191 + ((isSetKeyExchangeKey()) ? 131071 : 524287);
    if (isSetKeyExchangeKey())
      hashCode = hashCode * 8191 + keyExchangeKey.hashCode();

    hashCode = hashCode * 8191 + ((isSetTree()) ? 131071 : 524287);
    if (isSetTree())
      hashCode = hashCode * 8191 + tree.hashCode();

    return hashCode;
  }