|
spring-expression | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface TypeComparator
Instances of a type comparator should be able to compare pairs of objects for equality, the specification of the
return value is the same as for Comparable.
| Method Summary | |
|---|---|
boolean |
canCompare(java.lang.Object firstObject,
java.lang.Object secondObject)
Return true if the comparator can compare these two objects |
int |
compare(java.lang.Object firstObject,
java.lang.Object secondObject)
Compare two objects. |
| Method Detail |
|---|
int compare(java.lang.Object firstObject,
java.lang.Object secondObject)
throws EvaluationException
firstObject - the first objectsecondObject - the second object
EvaluationException - if a problem occurs during comparison (or they are not comparable)
boolean canCompare(java.lang.Object firstObject,
java.lang.Object secondObject)
firstObject - the first objectsecondObject - the second object
|
spring-expression | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||