public static boolean matchingRows(final Cell left, final Cell right) {
    short lrowlength = left.getRowLength();
    short rrowlength = right.getRowLength();
    return matchingRows(left, lrowlength, right, rrowlength);
  }
Compares the row of two keyvalues for equality
hbase-common/src/main/java/org/apache/hadoop/hbase/CellUtil.java