DefaultSortController extends DefaultRowSorter<M, Integer> implements
        SortController<M> { @Override public int getViewRowCount() { if (hasRowFilter()) return super.getViewRowCount(); return getModelRowCount(); } DefaultSortController(); @Override void setSortable(boolean sortable); @Override boolean isSortable(); @Override void setSortable(int column, boolean sortable); @Override boolean isSortable(int column); @Override void toggleSortOrder(int column); @Override void setSortOrder(int column, SortOrder sortOrder); @Override SortOrder getSortOrder(int column); @Override void resetSortOrders(); @Override SortOrder[] getSortOrderCycle(); @Override void setSortOrderCycle(SortOrder... cycle); @Override void setStringValueProvider(StringValueProvider registry); @Override StringValueProvider getStringValueProvider(); static SortOrder[] getDefaultSortOrderCycle(); @Override int convertRowIndexToModel(int viewIndex); @Override int convertRowIndexToView(int modelIndex); @Override int getModelRowCount(); @Override int getViewRowCount(); @Override void allRowsChanged(); @Override void modelStructureChanged(); @Override void rowsDeleted(int firstRow, int endRow); @Override void rowsInserted(int firstRow, int endRow); @SuppressWarnings({ "unchecked", "rawtypes" })
    static final Comparator COMPARABLE_COMPARATOR; }
@Test public void testViewRowCountAfterSilentInsert() { model.addRow(new Object[] {rows}); assertEquals(rows, sorter.getViewRowCount()); }
@Test public void testViewRowCountAfterSilentRemove() { model.removeRow(0); assertEquals(rows, sorter.getViewRowCount()); }