类 ClassFilters

    • 方法详细资料

      • union

        public static ClassFilter union​(ClassFilter cf1,
                                        ClassFilter cf2)
        Match all classes that either (or both) of the given ClassFilters matches.
        参数:
        cf1 - the first ClassFilter
        cf2 - the second ClassFilter
        返回:
        a distinct ClassFilter that matches all classes that either of the given ClassFilter matches
      • union

        public static ClassFilter union​(ClassFilter[] classFilters)
        Match all classes that either (or all) of the given ClassFilters matches.
        参数:
        classFilters - the ClassFilters to match
        返回:
        a distinct ClassFilter that matches all classes that either of the given ClassFilter matches
      • intersection

        public static ClassFilter intersection​(ClassFilter cf1,
                                               ClassFilter cf2)
        Match all classes that both of the given ClassFilters match.
        参数:
        cf1 - the first ClassFilter
        cf2 - the second ClassFilter
        返回:
        a distinct ClassFilter that matches all classes that both of the given ClassFilter match
      • intersection

        public static ClassFilter intersection​(ClassFilter[] classFilters)
        Match all classes that all of the given ClassFilters match.
        参数:
        classFilters - the ClassFilters to match
        返回:
        a distinct ClassFilter that matches all classes that both of the given ClassFilter match