ROW
- is the generic type of a row in the list.public class ColumnContainerComparator<ROW> extends Object implements Comparator<AttributeReadValue<ROW>>
AbstractUiWidgetTableColumn.sort(SortOrder)
Modifier and Type | Field and Description |
---|---|
private AbstractUiWidgetTableColumn<?,ROW,?> |
column
The current column to sort by.
|
private SortOrder |
sortOrder
The
SortOrder to sort by. |
Constructor and Description |
---|
ColumnContainerComparator()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
compare(AttributeReadValue<ROW> row1,
AttributeReadValue<ROW> row2) |
void |
sort(List<? extends AttributeReadValue<ROW>> rows,
AbstractUiWidgetTableColumn<?,ROW,?> sortColumn,
SortOrder order)
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
private AbstractUiWidgetTableColumn<?,ROW,?> column
public void sort(List<? extends AttributeReadValue<ROW>> rows, AbstractUiWidgetTableColumn<?,ROW,?> sortColumn, SortOrder order)
public int compare(AttributeReadValue<ROW> row1, AttributeReadValue<ROW> row2)
compare
in interface Comparator<AttributeReadValue<ROW>>
Copyright © 2001–2016 mmm-Team. All rights reserved.