@Override
  public boolean equals(Object obj) {
    if ((obj == null) || !(obj instanceof ThreadIdentifier)) {
      return false;
    }
    ThreadIdentifier other = (ThreadIdentifier) obj;
    return (threadID == other.threadID
        && EventID.equalMembershipIds(membershipID, other.membershipID));
  }
Extracts the field bits from the value.

@param val the value
@return the field
geode-core/src/main/java/org/apache/geode/internal/cache/ha/ThreadIdentifier.java