code: public boolean matches(List<String> path) {
  		if (nbAny == 0 && path.size() != nbWildcards)
  			return false;
  		if (path.size() < nbWildcards)
  			return false;
  		return check(path, 0, 0, nbWildcards, nbAny);
  	}
docs: Return true if the given list of path elements is matching this pattern.