@Override
  boolean areSerializedFieldsEqual(Filter other) {
    if (other == this) {
      return true;
    }
    if (!(other instanceof FilterList)) {
      return false;
    }
    FilterList o = (FilterList) other;
    return this.getOperator().equals(o.getOperator())
      && ((this.getFilters() == o.getFilters()) || this.getFilters().equals(o.getFilters()));
  }
Returns true if and only if the fields of the filter that are serialized are equal to the
corresponding fields in other. Used for testing.
hbase-client/src/main/java/org/apache/hadoop/hbase/filter/FilterList.java