### Question:
HopRow implements Serializable { @Override public int hashCode() { if (row==null) { return 0; } int hashValue = 0; for (int i=0;i<row.length;i++) { if (row[i]!=null) { hashValue^=row[i].hashCode(); } } return hashValue; } HopRow();  HopRow( Object[] row ); @Override boolean equals( Object obj ); @Override int hashCode(); boolean allNull(); Object[] getRow(); void setRow( Object[] row );  }### Answer:
@Test public void hashCodeTest() { Object[] row1 = new Object[] { "AAA", "BBB", Long.valueOf( 100 ), Double.valueOf(1.234), new Date( 876876868 ) }; HopRow hopRow1 = new HopRow(row1); assertEquals( -1023250643, hopRow1.hashCode() ); }