public static boolean match ( WildcardPattern [ ] patterns , String value ) { for ( WildcardPattern pattern : patterns ) { if ( pattern . match ( value ) ) { return true ; } } return false ; }
Returns true if specified value matches one of specified patterns .