ColumnCoordinate extends Column { @Override public boolean equals(Object other) { if (!(other instanceof ColumnCoordinate)) { return false; } ColumnCoordinate columnCoordinate = (ColumnCoordinate) other; return Bytes.equals(this.tableName, columnCoordinate.getTableName()) && Bytes.equals(this.row, columnCoordinate.getRow()) && super.equals(columnCoordinate); } ColumnCoordinate();  ColumnCoordinate(byte[] family, byte[] qualifier);  ColumnCoordinate(byte[] row, byte[] family, byte[] qualifier);  ColumnCoordinate(byte[] tableName, byte[] row, byte[] family, byte[] qualifier);  ColumnCoordinate(byte[] tableName, byte[] row, Column column);  ColumnCoordinate(ColumnCoordinate columnCoordinate); byte[] getTableName(); byte[] getRow(); void write(DataOutput out); void readFields(DataInput in); @Override int hashCode(); @Override boolean equals(Object other); @Override String toString();  }
@Test public void testWriteAndReadColumn() throws Exception { ColumnCoordinate actual = new ColumnCoordinate(); writeObjectToBufferAndRead(COLUMN, actual); Assert.assertTrue(COLUMN.equals(actual)); }