@Test public void testEqualsDifferentLineHeight() { final CELL differentCell = makeCell(LINE_HEIGHT + 1); assertThat(cell).isNotEqualTo(differentCell); assertThat(cell.hashCode()).isNotEqualTo(differentCell.hashCode()); }
@Override public int hashCode() { return Objects.hash(super.hashCode(), lineHeight, height); }
BaseHasDynamicHeightCell extends DMNGridCell<T> implements HasDynamicHeight { @Override public int hashCode() { return Objects.hash(super.hashCode(), lineHeight, height); } }
BaseHasDynamicHeightCell extends DMNGridCell<T> implements HasDynamicHeight { @Override public int hashCode() { return Objects.hash(super.hashCode(), lineHeight, height); } BaseHasDynamicHeightCell(final GridCellValue<T> value,
                                    final double lineHeight); }
BaseHasDynamicHeightCell extends DMNGridCell<T> implements HasDynamicHeight { @Override public int hashCode() { return Objects.hash(super.hashCode(), lineHeight, height); } BaseHasDynamicHeightCell(final GridCellValue<T> value,
                                    final double lineHeight); @Override double getHeight(); @Override boolean equals(final Object o); @Override int hashCode(); }
BaseHasDynamicHeightCell extends DMNGridCell<T> implements HasDynamicHeight { @Override public int hashCode() { return Objects.hash(super.hashCode(), lineHeight, height); } BaseHasDynamicHeightCell(final GridCellValue<T> value,
                                    final double lineHeight); @Override double getHeight(); @Override boolean equals(final Object o); @Override int hashCode(); static final double DEFAULT_HEIGHT; }