org.eclipse.nebula.widgets.nattable.search
Class CellValueAsStringComparator<T extends Comparable<String>>
java.lang.Object
org.eclipse.nebula.widgets.nattable.search.CellValueAsStringComparator<T>
- All Implemented Interfaces:
- Comparator<T>
public class CellValueAsStringComparator<T extends Comparable<String>>
- extends Object
- implements Comparator<T>
The comparator will base its comparison on the display value of a cell. The
display value is assumed to be a string.
Method Summary |
int |
compare(T firstValue,
T secondValue)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CellValueAsStringComparator
public CellValueAsStringComparator()
compare
public int compare(T firstValue,
T secondValue)
- Specified by:
compare
in interface Comparator<T extends Comparable<String>>
Copyright © 2014. All rights reserved.