/** * Create a filter with two filters, one of which must match. * * @param a * first filter to test. * @param b * second filter to test. * @return a filter that must match at least one input filter. */ public static RevFilter create(final RevFilter a, final RevFilter b) { if (a == ALL || b == ALL) return ALL; return new Binary(a, b); }
@Override public RevFilter clone() { return new Binary(a.clone(), b.clone()); }
@Override public RevFilter clone() { return new Binary(a.clone(), b.clone()); }
@Override public RevFilter clone() { return new Binary(a.clone(), b.clone()); }
/** * Create a filter with two filters, one of which must match. * * @param a * first filter to test. * @param b * second filter to test. * @return a filter that must match at least one input filter. */ public static RevFilter create(RevFilter a, RevFilter b) { if (a == ALL || b == ALL) return ALL; return new Binary(a, b); }
/** * Create a filter with two filters, one of which must match. * * @param a * first filter to test. * @param b * second filter to test. * @return a filter that must match at least one input filter. */ public static RevFilter create(RevFilter a, RevFilter b) { if (a == ALL || b == ALL) return ALL; return new Binary(a, b); }
/** * Create a filter with two filters, one of which must match. * * @param a * first filter to test. * @param b * second filter to test. * @return a filter that must match at least one input filter. */ public static RevFilter create(RevFilter a, RevFilter b) { if (a == ALL || b == ALL) return ALL; return new Binary(a, b); }
@Override public RevFilter clone() { return new Binary(a.clone(), b.clone()); }