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