private boolean matches(final Path path,final ArrayDeque<PathMatcher> matchers){
  for (  PathMatcher matcher : matchers) {
    if (matcher.matches(path)) {
      return true;
    }
  }
  return false;
}

private boolean matches ( final Path path , final ArrayDeque < PathMatcher > matchers ) { for ( PathMatcher matcher : matchers ) { if ( matcher . matches ( path ) ) { return true ; } } return false ; }
check whether a path matches any of the given matchers .
