Package docking.widgets.table.sort
Class DefaultColumnComparator
- java.lang.Object
-
- docking.widgets.table.sort.DefaultColumnComparator
-
- All Implemented Interfaces:
java.util.Comparator<java.lang.Object>
public class DefaultColumnComparator extends java.lang.Object implements java.util.Comparator<java.lang.Object>
A column comparator that is used when columns do not supply their own comparator. This comparator will use the natural sorting (i.e., the value implements Comparable), defaulting to the String representation for the given value.
-
-
Constructor Summary
Constructors Constructor Description DefaultColumnComparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(java.lang.Object o1, java.lang.Object o2)
-