class InvertedMatcher extends Object implements LineMatcher
Constructor and Description |
---|
InvertedMatcher(LineMatcher matcher)
Constructor with matcher to invert.
|
Modifier and Type | Method and Description |
---|---|
boolean |
matches(Line line)
Returns true if the given
line matches, and false otherwise. |
public InvertedMatcher(LineMatcher matcher)
matcher
- the matcher to invertpublic boolean matches(Line line)
LineMatcher
line
matches, and false otherwise.matches
in interface LineMatcher
line
- the line to testCopyright © 2024. All rights reserved.