public abstract static class FieldBasedTupleComparator.CompareFunctor extends Object
Constructor and Description |
---|
CompareFunctor() |
Modifier and Type | Method and Description |
---|---|
boolean |
compare(TupleComparator comparator,
CompleteDataType cdt,
Object expected,
Object actual)
|
abstract boolean |
compareImpl(TupleComparator comparator,
CompleteDataType cdt,
Object expected,
Object actual)
Compare two values expected and actual, using
comparator for recursion as necessary. |
public boolean compare(TupleComparator comparator, CompleteDataType cdt, Object expected, Object actual) throws StreamBaseException
FieldBasedTupleComparator.CompareFunctor.compareImpl(com.streambase.sb.unittest.TupleComparator, com.streambase.sb.CompleteDataType, java.lang.Object, java.lang.Object)
StreamBaseException
public abstract boolean compareImpl(TupleComparator comparator, CompleteDataType cdt, Object expected, Object actual) throws StreamBaseException
comparator
for recursion as necessary.comparator
- recurse through this argument for parameterized types.expected
- a non-null objectactual
- a non-null objectStreamBaseException