public class DefaultComparator extends java.lang.Object implements ExtendedComparator
Constructor and Description |
---|
DefaultComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(Type type1,
java.lang.Object value1,
Type type2,
java.lang.Object value2)
Returns null, if the types are not comparable and are not convertible at
all.
|
void |
inititalize(FormulaContext context) |
boolean |
isEqual(Type type1,
java.lang.Object value1,
Type type2,
java.lang.Object value2) |
public void inititalize(FormulaContext context)
public boolean isEqual(Type type1, java.lang.Object value1, Type type2, java.lang.Object value2)
isEqual
in interface ExtendedComparator
public int compare(Type type1, java.lang.Object value1, Type type2, java.lang.Object value2)
compare
in interface ExtendedComparator
type1
- value1
- type2
- value2
-