public static class FieldBasedTupleComparator.DoubleCompareFunctor extends FieldBasedTupleComparator.CompareFunctor
Constructor and Description |
---|
DoubleCompareFunctor() |
DoubleCompareFunctor(double tolerance) |
Modifier and Type | Method and Description |
---|---|
boolean |
compareImpl(TupleComparator comparator,
CompleteDataType cdt,
java.lang.Object expected,
java.lang.Object actual)
Compare two values expected and actual, using
comparator for recursion as necessary. |
compare
public DoubleCompareFunctor()
public DoubleCompareFunctor(double tolerance)
public boolean compareImpl(TupleComparator comparator, CompleteDataType cdt, java.lang.Object expected, java.lang.Object actual)
FieldBasedTupleComparator.CompareFunctor
comparator
for recursion as necessary.compareImpl
in class FieldBasedTupleComparator.CompareFunctor
comparator
- recurse through this argument for parameterized types.expected
- a non-null objectactual
- a non-null object