@Test public void testIsMultiRowMultipleSelections() { uiModel.selectCell(0, 0); uiModel.selectCell(1, 0); assertThat(SelectionUtils.isMultiRow(uiModel)).isTrue(); }
public static boolean isMultiRow(final GridData uiModel) { return uiModel.getSelectedCells() .stream() .map(GridData.SelectedCell::getRowIndex) .distinct() .collect(Collectors.toList()) .size() > 1; }
SelectionUtils { public static boolean isMultiRow(final GridData uiModel) { return uiModel.getSelectedCells() .stream() .map(GridData.SelectedCell::getRowIndex) .distinct() .collect(Collectors.toList()) .size() > 1; } }
SelectionUtils { public static boolean isMultiRow(final GridData uiModel) { return uiModel.getSelectedCells() .stream() .map(GridData.SelectedCell::getRowIndex) .distinct() .collect(Collectors.toList()) .size() > 1; }  }
SelectionUtils { public static boolean isMultiRow(final GridData uiModel) { return uiModel.getSelectedCells() .stream() .map(GridData.SelectedCell::getRowIndex) .distinct() .collect(Collectors.toList()) .size() > 1; }  static boolean isMultiSelect(final GridData uiModel); static boolean isMultiRow(final GridData uiModel); static boolean isMultiColumn(final GridData uiModel); static boolean isMultiHeaderColumn(final GridData uiModel); }
SelectionUtils { public static boolean isMultiRow(final GridData uiModel) { return uiModel.getSelectedCells() .stream() .map(GridData.SelectedCell::getRowIndex) .distinct() .collect(Collectors.toList()) .size() > 1; }  static boolean isMultiSelect(final GridData uiModel); static boolean isMultiRow(final GridData uiModel); static boolean isMultiColumn(final GridData uiModel); static boolean isMultiHeaderColumn(final GridData uiModel);  }