/** * Convenience method that returns <code>true</code> if all the values in the specified array were matched by * {@link #match(Object)}, <code>false</code> if one of the values wasn't. * * @param values the values to be tested * @return true if all the values in the specified array were accepted */ public boolean match(C values[]) { int nbFiles = values.length; for(int i=0; i<nbFiles; i++) if(!match(values[i])) return false; return true; }