org.eclipse.nebula.widgets.nattable.search
Class CellValueAsStringComparator<T extends Comparable<String>>

java.lang.Object
  extended by 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.


Constructor Summary
CellValueAsStringComparator()
           
 
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
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

CellValueAsStringComparator

public CellValueAsStringComparator()
Method Detail

compare

public int compare(T firstValue,
                   T secondValue)
Specified by:
compare in interface Comparator<T extends Comparable<String>>


Copyright © 2014. All rights reserved.