public interface TypeComparator
Comparable.Comparable| Modifier and Type | Method and Description | 
|---|---|
| boolean | canCompare(Object firstObject,
          Object secondObject)Return  trueif the comparator can compare these two objects. | 
| int | compare(Object firstObject,
       Object secondObject)Compare two given objects. | 
boolean canCompare(@Nullable
                   Object firstObject,
                   @Nullable
                   Object secondObject)
true if the comparator can compare these two objects.firstObject - the first objectsecondObject - the second objecttrue if the comparator can compare these objectsint compare(@Nullable
            Object firstObject,
            @Nullable
            Object secondObject)
     throws EvaluationException
firstObject - the first objectsecondObject - the second objectEvaluationException - if a problem occurs during comparison
 (or if they are not comparable in the first place)