@Override
      public int compare(Object o1, Object o2) {
        if (o1 == null || o2 == null) throw new IllegalArgumentException("prefixes can't be null");

        byte[] b1 = (byte[]) o1;
        byte[] b2 = (byte[]) o2;
        return Bytes.compareTo(b1, 0, b1.length, b2, 0, b2.length);
      }
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/MultipleColumnPrefixFilter.java