Package proguard.util
Class CollectionMatcher
java.lang.Object
proguard.util.StringMatcher
proguard.util.CollectionMatcher
This matcher tests whether strings match with a String in a given Set.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class proguard.util.StringMatcher
prefix
-
Constructor Details
-
CollectionMatcher
-
CollectionMatcher
-
-
Method Details
-
matches
Description copied from class:StringMatcherChecks whether the given string matches.- Overrides:
matchesin classStringMatcher- Parameters:
string- the string to match.- Returns:
- a boolean indicating whether the string matches the criterion.
-
matches
Description copied from class:StringMatcherChecks whether the given substring matches.- Specified by:
matchesin classStringMatcher- Parameters:
string- the string to match.beginOffset- the start offset of the substring (inclusive).endOffset- the end offset of the substring (exclusive).- Returns:
- a boolean indicating whether the substring matches the criterion.
-