AbsoluteLength implements Length { @Override public int hashCode() { return Double.valueOf(this.mm).hashCode(); } AbsoluteLength(final double mm); static AbsoluteLength mm(final double value); static AbsoluteLength cm(final double value); static AbsoluteLength in(final double value); static AbsoluteLength pt(final double value); static AbsoluteLength pc(final double value); @Override boolean equals(final Object o); @Override int hashCode(); @Override String toString(); @Override boolean isNotNull(); @Override String getValue();  }
@Test public void testHashCode() { Assert.assertEquals(AbsoluteLength.pc(VALUE).hashCode(), AbsoluteLength.pc(VALUE).hashCode()); }