Package docking.widgets.table.threaded
Class ThreadedBackupRowComparator<T>
- java.lang.Object
-
- docking.widgets.table.sort.ColumnRenderedValueBackupRowComparator<T>
-
- docking.widgets.table.threaded.ThreadedBackupRowComparator<T>
-
- Type Parameters:
T
- the row type
- All Implemented Interfaces:
java.util.Comparator<T>
public class ThreadedBackupRowComparator<T> extends ColumnRenderedValueBackupRowComparator<T>
A version ofColumnRenderedValueBackupRowComparator
that uses theThreadedTableModel
's cache for column lookups
-
-
Field Summary
-
Fields inherited from class docking.widgets.table.sort.ColumnRenderedValueBackupRowComparator
model, sortColumn
-
-
Constructor Summary
Constructors Constructor Description ThreadedBackupRowComparator(ThreadedTableModel<T,?> model, int sortColumn)
Constructs this class with the given column comparator that will get called after the given row is converted to the column value for the given sort column
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.Object
getColumnValue(T t)
-
Methods inherited from class docking.widgets.table.sort.ColumnRenderedValueBackupRowComparator
compare
-
-
-
-
Constructor Detail
-
ThreadedBackupRowComparator
public ThreadedBackupRowComparator(ThreadedTableModel<T,?> model, int sortColumn)
Constructs this class with the given column comparator that will get called after the given row is converted to the column value for the given sort column- Parameters:
model
- the table model using this comparatorsortColumn
- the column being sorted- See Also:
RowToColumnComparator
-
-
Method Detail
-
getColumnValue
protected java.lang.Object getColumnValue(T t)
- Overrides:
getColumnValue
in classColumnRenderedValueBackupRowComparator<T>
-
-