org.jfree.formula.typing
Interface ExtendedComparator
- DefaultComparator
A comparator, that offers type support. Unlike the plain Java-Comparator,
this class is able to compare
Integer | compare(Type type1, Object value1, Type type2, Object value2)- Returns null, if the types are not comparable and are not convertible at
all.
|
boolean | isEqual(Type type1, Object value1, Type type2, Object value2)
|
compare
public Integer compare(Type type1,
Object value1,
Type type2,
Object value2) Returns null, if the types are not comparable and are not convertible at
all.
type1 - value1 - type2 - value2 -
isEqual
public boolean isEqual(Type type1,
Object value1,
Type type2,
Object value2)