public int hashCode()

in finagle-thrift/src/main/java/com/twitter/finagle/thrift/thrift/RequestHeader.java [764:804]


  public int hashCode() {
    int hashCode = 1;

    hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(trace_id);

    hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(span_id);

    hashCode = hashCode * 8191 + ((isSetParent_span_id()) ? 131071 : 524287);
    if (isSetParent_span_id())
      hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(parent_span_id);

    hashCode = hashCode * 8191 + ((isSetSampled()) ? 131071 : 524287);
    if (isSetSampled())
      hashCode = hashCode * 8191 + ((sampled) ? 131071 : 524287);

    hashCode = hashCode * 8191 + ((isSetClient_id()) ? 131071 : 524287);
    if (isSetClient_id())
      hashCode = hashCode * 8191 + client_id.hashCode();

    hashCode = hashCode * 8191 + ((isSetFlags()) ? 131071 : 524287);
    if (isSetFlags())
      hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(flags);

    hashCode = hashCode * 8191 + ((isSetContexts()) ? 131071 : 524287);
    if (isSetContexts())
      hashCode = hashCode * 8191 + contexts.hashCode();

    hashCode = hashCode * 8191 + ((isSetDest()) ? 131071 : 524287);
    if (isSetDest())
      hashCode = hashCode * 8191 + dest.hashCode();

    hashCode = hashCode * 8191 + ((isSetDelegations()) ? 131071 : 524287);
    if (isSetDelegations())
      hashCode = hashCode * 8191 + delegations.hashCode();

    hashCode = hashCode * 8191 + ((isSetTrace_id_high()) ? 131071 : 524287);
    if (isSetTrace_id_high())
      hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(trace_id_high);

    return hashCode;
  }