接口 Matcher
- 所有已知实现类:
AllowAllMatcher,StartsWithMatcher
public interface Matcher
匹配器接口,实现类必须实现equals和hashCode接口
- 作者:
- 李飞 (lifei@wellbole.com)
-
方法概要
-
方法详细资料
-
match
检查key是否匹配(满足)某种规则- 参数:
key- view路径- 返回:
- 如果匹配该规则,则返回一个新的 key ,否则返回 null
-
AllowAllMatcher, StartsWithMatcherkey - view路径