Interface SortOrderComparator<T>
-
- Type Parameters:
T
- The type of objects that may be compared by this comparator.
- All Superinterfaces:
java.util.Comparator<T>
- All Known Implementing Classes:
AbstractChainedSortOrderComparator
,AbstractCollatedSortOrderComparator
,AbstractSortOrderComparator
,SerialDelegateComparator
,ValuedComparator
public interface SortOrderComparator<T> extends java.util.Comparator<T>
A comparator that can sort in ascending or descending order.- Author:
- Garret Wilson
- See Also:
SortOrder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SortOrder
getSortOrder()
-
-
-
Method Detail
-
getSortOrder
SortOrder getSortOrder()
- Returns:
- The order in which to perform comparisons.
-
-