public class DatasetSorter
extends java.lang.Object
Constructor and Description |
---|
DatasetSorter(boolean increasingOrder)
Sort datasets into lexigraphic order by dataset name in either increasing
(increasingOrder=true) or decreasing (increasingOrder=false) order.
|
DatasetSorter(java.util.Comparator invDatasetComparator)
Sort datasets according to the given java.util.Comparator.
|
Modifier and Type | Method and Description |
---|---|
void |
sortDatasets(InvDataset collectionDs) |
void |
sortDatasets(java.util.List datasets) |
void |
sortNestedDatasets(InvDataset collectionDs) |
public DatasetSorter(boolean increasingOrder)
increasingOrder
- if true, datasets are sorted into increasing order, otherwise decreasing order.public DatasetSorter(java.util.Comparator invDatasetComparator)
invDatasetComparator
- a java.util.Comparator that compares InvDataset objects.public void sortDatasets(InvDataset collectionDs)
public void sortDatasets(java.util.List datasets)
public void sortNestedDatasets(InvDataset collectionDs)