@Test public void test() { BytesRowKey brk1 = new BytesRowKey(new byte[] { (byte) 1 }); BytesRowKey brk2 = new BytesRowKey(new byte[] { (byte) 1 }); Assert.assertEquals(brk1, brk2); Assert.assertEquals(brk1.hashCode(), brk2.hashCode()); }
@Override public int hashCode() { return HashCodeBuilder.reflectionHashCode(this); }
BytesRowKey implements RowKey { @Override public int hashCode() { return HashCodeBuilder.reflectionHashCode(this); } }
BytesRowKey implements RowKey { @Override public int hashCode() { return HashCodeBuilder.reflectionHashCode(this); } BytesRowKey(byte[] key); }
BytesRowKey implements RowKey { @Override public int hashCode() { return HashCodeBuilder.reflectionHashCode(this); } BytesRowKey(byte[] key); @Override byte[] toBytes(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString(); }
BytesRowKey implements RowKey { @Override public int hashCode() { return HashCodeBuilder.reflectionHashCode(this); } BytesRowKey(byte[] key); @Override byte[] toBytes(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString();  }