public static boolean equals(List<byte[]> a, List<byte[]> b) {
    if (a == null) {
      if (b == null) {
        return true;
      }
      return false;
    }
    if (b == null) {
      return false;
    }
    if (a.size() != b.size()) {
      return false;
    }
    for (int i = 0; i < a.size(); ++i) {
      if (!Bytes.equals(a.get(i), b.get(i))) {
        return false;
      }
    }
    return true;
  }
Treat the byte[] as an unsigned series of bytes, most significant bits first. Start by adding 1
to the rightmost bit/byte and carry over all overflows to the more significant bits/bytes.
@param input The byte[] to increment.
@return The incremented copy of "in". May be same length or 1 byte longer.
hbase-common/src/main/java/org/apache/hadoop/hbase/util/Bytes.java