public class CollectionsDataSetSort extends Object implements DataSetSortAlgorithm
| Constructor and Description |
|---|
CollectionsDataSetSort() |
| Modifier and Type | Method and Description |
|---|---|
List<Integer> |
sort(DataSet dataSet,
List<ColumnSort> columnSortList)
Sort the specified data set according the sort criteria list specified.
|
List<Integer> |
sort(DataSet dataSet,
List<Integer> rowNumbers,
List<ColumnSort> columnSortList)
Sort the specified data set according the sort criteria list specified.
|
public List<Integer> sort(DataSet dataSet, List<ColumnSort> columnSortList)
DataSetSortAlgorithmsort in interface DataSetSortAlgorithmdataSet - The data set to sortcolumnSortList - The sort operations to applypublic List<Integer> sort(DataSet dataSet, List<Integer> rowNumbers, List<ColumnSort> columnSortList)
DataSetSortAlgorithmsort in interface DataSetSortAlgorithmdataSet - The data set to sortrowNumbers - The subset of rows to sort.columnSortList - The sort operations to applyCopyright © 2017–2019 JBoss by Red Hat. All rights reserved.