class InvertedMatcher extends Object implements LineMatcher
Constructor and Description |
---|
InvertedMatcher(LineMatcher matcher)
Constructor with matcher to invert.
|
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 © 2016. All rights reserved.