LocalCellRef { @Override public int hashCode() { return EqualityUtil.hashObjects(this.r, this.c, this.status); } LocalCellRef(final int r, final int c, final int status); static LocalCellRefBuilder builder(); @Override boolean equals(final Object o); @Override int hashCode(); int getColumn(); int getRow(); @Override String toString(); void write(final Appendable appendable); static final char ABS_SIGN; }
@Test public void testHashCode() { final LocalCellRef r1 = new LocalCellRef(1, 2, 3); Assert.assertEquals(30817, r1.hashCode()); }