public class RevertedMatcher<T1,T2> extends java.lang.Object implements Matcher<T1,T2>
Basically the equality relation should be reflexive, but there are good reasons to not obey this rule in a class hierarchy.
How this matcher handles null
values depends on the wrapped matcher.
Match.revert(de.caff.generics.Matcher)
Constructor and Description |
---|
RevertedMatcher(Matcher<T2,T1> matcher)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
areEqual(T1 object1,
T2 object2)
Are the given two objects considered equal?
|