RowKeyWrapper implements Comparable<RowKeyWrapper> { public ByteString getKey() { return key; } RowKeyWrapper(ByteString key); ByteString getKey(); @Override int compareTo(RowKeyWrapper o);  }
@Test public void test() { RowKeyWrapper rowKeyWrapper = new RowKeyWrapper(ByteString.copyFromUtf8("test-key")); assertEquals("test-key", rowKeyWrapper.getKey().toStringUtf8()); }