Package thredds.crawlabledataset.sorter
Class LexigraphicByNameSorter
- java.lang.Object
-
- thredds.crawlabledataset.sorter.LexigraphicByNameSorter
-
- All Implemented Interfaces:
CrawlableDatasetSorter
public class LexigraphicByNameSorter extends Object implements CrawlableDatasetSorter
Sort CrawlableDataset lists lexicographically on the dataset name.- Since:
- Nov 18, 2005 4:26:38 PM
-
-
Constructor Summary
Constructors Constructor Description LexigraphicByNameSorter(boolean increasingOrder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getConfigObject()
Return the configuration object.boolean
isIncreasing()
void
sort(List<CrawlableDataset> datasetList)
Sort the given CrawlableDataset list into the order defined by this sorter.
-
-
-
Method Detail
-
getConfigObject
public Object getConfigObject()
Description copied from interface:CrawlableDatasetSorter
Return the configuration object.- Specified by:
getConfigObject
in interfaceCrawlableDatasetSorter
- Returns:
- the configuration Object (may be null).
-
isIncreasing
public boolean isIncreasing()
-
sort
public void sort(List<CrawlableDataset> datasetList)
Description copied from interface:CrawlableDatasetSorter
Sort the given CrawlableDataset list into the order defined by this sorter.- Specified by:
sort
in interfaceCrawlableDatasetSorter
- Parameters:
datasetList
- the CrawlableDataset list to be sorted.
-
-