org.statcato.spreadsheet
Class CellComparator
- java.lang.Object
-
- org.statcato.spreadsheet.CellComparator
-
- All Implemented Interfaces:
- java.util.Comparator
public class CellComparator extends java.lang.Object implements java.util.ComparatorA comparator forCellobjects (ascending order). 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
-
-
Constructor Summary
Constructors Constructor and Description CellComparator()
-
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