public static interface SimpleType.SimpleTypeValueComparator
| Modifier and Type | Method and Description |
|---|---|
int |
compareValues(java.lang.Object value1,
java.lang.Object value2,
DataSourceField field)
A custom comparator for this SimpleType.
|
int compareValues(java.lang.Object value1,
java.lang.Object value2,
DataSourceField field)
Implementations of this method should return the following:
value1 - First value for comparisonvalue2 - Second value for comparisonfield - An instance of DataClass representing the field for which we are
comparing values, as extra context for the comparator.