I have a method with argument of type Set<String>. The variable which i should use as a paramter of the method is type String. What is the solution ?
Method:
Variable:public static Data searchAnd(Set<String> keywords) throws IllegalAccessException { }
String searchedValue=request.getParameter("formtext2"); ... //this gives an error Searcher.searchAnd(searchedValue);