org.statcato.spreadsheet
Class CellComparatorDescending
- java.lang.Object
-
- org.statcato.spreadsheet.CellComparatorDescending
-
- All Implemented Interfaces:
- java.util.Comparator
public class CellComparatorDescending extends java.lang.Object implements java.util.ComparatorA comparator forCellobjects. Results in descending order when used with an ascending order sorting method (for example,Collections.sort(java.util.List<T>)). If theCellobjects contains numbers, compare them as numbers. If theCellobjects do not contain numbers, compare them as strings (empty strings are largest).- Since:
- 1.0
- See Also:
Cell,CellComparator
-
-
Constructor Summary
Constructors Constructor and Description CellComparatorDescending()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description intcompare(java.lang.Object Cell1, java.lang.Object Cell2)
-
DMelt 3.0 © DataMelt by jWork.ORG