Package edu.umd.cs.findbugs.util
Class ExactStringMatcher
java.lang.Object
edu.umd.cs.findbugs.util.ExactStringMatcher
- All Implemented Interfaces:
StringMatcher
Exact String-matching predicate.
- Author:
- David Hovemeyer
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ExactStringMatcher
Constructor.- Parameters:
expected
- the expected string value
-
-
Method Details
-
matches
Description copied from interface:StringMatcher
Return whether or not the given String matches.- Specified by:
matches
in interfaceStringMatcher
- Parameters:
s
- a String- Returns:
- true if the String matches, false if it does not match
-
toString
-