public class StandardTypeComparator extends java.lang.Object implements TypeComparator
Constructor and Description |
---|
StandardTypeComparator() |
Modifier and Type | Method and Description |
---|---|
boolean |
canCompare(java.lang.Object left,
java.lang.Object right)
Return true if the comparator can compare these two objects
|
int |
compare(java.lang.Object left,
java.lang.Object right)
Compare two objects.
|
public int compare(java.lang.Object left, java.lang.Object right) throws SpelEvaluationException
TypeComparator
compare
in interface TypeComparator
left
- the first objectright
- the second objectSpelEvaluationException
public boolean canCompare(java.lang.Object left, java.lang.Object right)
TypeComparator
canCompare
in interface TypeComparator
left
- the first objectright
- the second object