Class DatasetSorter


  • public class DatasetSorter
    extends Object
    A description
    Since:
    Apr 20, 2005 17:02:08 PM
    • Constructor Detail

      • DatasetSorter

        public DatasetSorter​(boolean increasingOrder)
        Sort datasets into lexigraphic order by dataset name in either increasing (increasingOrder=true) or decreasing (increasingOrder=false) order.
        Parameters:
        increasingOrder - if true, datasets are sorted into increasing order, otherwise decreasing order.
      • DatasetSorter

        public DatasetSorter​(Comparator invDatasetComparator)
        Sort datasets according to the given java.util.Comparator.
        Parameters:
        invDatasetComparator - a java.util.Comparator that compares InvDataset objects.
    • Method Detail

      • sortDatasets

        public void sortDatasets​(InvDataset collectionDs)
      • sortDatasets

        public void sortDatasets​(List datasets)
      • sortNestedDatasets

        public void sortNestedDatasets​(InvDataset collectionDs)