@SuppressWarnings("unchecked")
  @Override
  protected void setCurrentFilter(@Nullable RowFilter<?, ?> filter) {
    currentFilter = filter;
    RowSorter<?> sorter = getSorter();
    if (sorter != null) {
      ((DefaultRowSorter)sorter).setRowFilter(filter);
    }
  }
@SuppressWarnings("unchecked")
  @Override
  protected void setCurrentFilter(@Nullable RowFilter<?, ?> filter)