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
- Author:
- edavis
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LexigraphicByNameSorter
public LexigraphicByNameSorter(boolean increasingOrder)
getConfigObject
public Object getConfigObject()
- Description copied from interface:
CrawlableDatasetSorter
- Return the configuration object.
- Specified by:
getConfigObject
in interface CrawlableDatasetSorter
- 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 interface CrawlableDatasetSorter
- Parameters:
datasetList
- the CrawlableDataset list to be sorted.
Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.