DateValue implements CellValue { @Override public final int hashCode() { return this.value.hashCode(); } DateValue(final Date value); static DateValue from(final Object o); @Override void setToCell(final TableCell cell); @Override boolean equals(final Object o); @Override final int hashCode(); @Override String toString();  }
@Test public void testHashcode() throws FastOdsException { final DateValue dv1 = new DateValue(DATE); final DateValue dv2 = DateValue.from(dv1); Assert.assertEquals(123466, dv1.hashCode()); Assert.assertEquals(123466, dv2.hashCode()); }