程序包 proguard.util
类 CollectionMatcher
- java.lang.Object
-
- proguard.util.StringMatcher
-
- proguard.util.CollectionMatcher
-
public class CollectionMatcher extends StringMatcher
This matcher tests whether strings match with a String in a given Set.
-
-
构造器概要
构造器 构造器 说明 CollectionMatcher(java.lang.String... strings)CollectionMatcher(java.util.Set<java.lang.String> set)
-
-
-
方法详细资料
-
matches
public boolean matches(java.lang.String string)
从类复制的说明:StringMatcherChecks whether the given string matches.- 覆盖:
matches在类中StringMatcher- 参数:
string- the string to match.- 返回:
- a boolean indicating whether the string matches the criterion.
-
matches
protected boolean matches(java.lang.String string, int beginOffset, int endOffset)从类复制的说明:StringMatcherChecks whether the given substring matches.- 指定者:
matches在类中StringMatcher- 参数:
string- the string to match.beginOffset- the start offset of the substring (inclusive).endOffset- the end offset of the substring (exclusive).- 返回:
- a boolean indicating whether the substring matches the criterion.
-
-