public class StandardTypeComparator extends Object implements TypeComparator
TypeComparator implementation.
It supports comparison of Numbers and types implementing Comparable.| Constructor and Description |
|---|
StandardTypeComparator() |
public boolean canCompare(Object left, Object right)
TypeComparatortrue if the comparator can compare these two objects.canCompare in interface TypeComparatorleft - the first objectright - the second objecttrue if the comparator can compare these objectspublic int compare(Object left, Object right) throws SpelEvaluationException
TypeComparatorcompare in interface TypeComparatorleft - the first objectright - the second objectSpelEvaluationException