boolean areSerializedFieldsEqual(ByteArrayComparable other) {
    if (other == this) {
      return true;
    }
    return Bytes.equals(this.getValue(), other.getValue());
  }
Return true if and only if the fields of the comparator that are serialized are equal to the
corresponding fields in other.
hbase-common/src/main/java/org/apache/hadoop/hbase/filter/ByteArrayComparable.java