public abstract class MatcherWithNegator<T> extends java.lang.Object implements Matcher<T>
Matcher that can be negated (e.g. by prepending "!" to a class name).| Constructor and Description |
|---|
MatcherWithNegator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
matches(T t) |
protected abstract boolean |
matchesWithoutNegator(T t) |
void |
setNegator(boolean negator) |