/** * Match all classes that <i>either</i> (or all) of the given ClassFilters matches. * @param classFilters the ClassFilters to match * @return a distinct ClassFilter that matches all classes that either * of the given ClassFilter matches */ public static ClassFilter union(ClassFilter[] classFilters) { Assert.notEmpty(classFilters, "ClassFilter array must not be empty"); return new UnionClassFilter(classFilters); }
public static ClassFilter union(ClassFilter a, ClassFilter b) { return new UnionClassFilter(new ClassFilter[] { a, b } ); }
/** * Match all classes that <i>either</i> (or all) of the given ClassFilters matches. * @param classFilters the ClassFilters to match * @return a distinct ClassFilter that matches all classes that either * of the given ClassFilter matches */ public static ClassFilter union(ClassFilter[] classFilters) { Assert.notEmpty(classFilters, "ClassFilter array must not be empty"); return new UnionClassFilter(classFilters); }
/** * Match all classes that <i>either</i> (or both) of the given ClassFilters matches. * @param cf1 the first ClassFilter * @param cf2 the second ClassFilter * @return a distinct ClassFilter that matches all classes that either * of the given ClassFilter matches */ public static ClassFilter union(ClassFilter cf1, ClassFilter cf2) { Assert.notNull(cf1, "First ClassFilter must not be null"); Assert.notNull(cf2, "Second ClassFilter must not be null"); return new UnionClassFilter(new ClassFilter[] {cf1, cf2}); }
/** * Match all classes that <i>either</i> (or both) of the given ClassFilters matches. * @param cf1 the first ClassFilter * @param cf2 the second ClassFilter * @return a distinct ClassFilter that matches all classes that either * of the given ClassFilter matches */ public static ClassFilter union(ClassFilter cf1, ClassFilter cf2) { Assert.notNull(cf1, "First ClassFilter must not be null"); Assert.notNull(cf2, "Second ClassFilter must not be null"); return new UnionClassFilter(new ClassFilter[] {cf1, cf2}); }
/** * Match all classes that <i>either</i> (or all) of the given ClassFilters matches. * @param classFilters the ClassFilters to match * @return a distinct ClassFilter that matches all classes that either * of the given ClassFilter matches */ public static ClassFilter union(ClassFilter[] classFilters) { Assert.notEmpty(classFilters, "ClassFilter array must not be empty"); return new UnionClassFilter(classFilters); }
/** * Match all classes that <i>either</i> (or both) of the given ClassFilters matches. * @param cf1 the first ClassFilter * @param cf2 the second ClassFilter * @return a distinct ClassFilter that matches all classes that either * of the given ClassFilter matches */ public static ClassFilter union(ClassFilter cf1, ClassFilter cf2) { Assert.notNull(cf1, "First ClassFilter must not be null"); Assert.notNull(cf2, "Second ClassFilter must not be null"); return new UnionClassFilter(new ClassFilter[] {cf1, cf2}); }