List<Collection<CharSequence>> (List<String> list) { List<Collection<CharSequence>> strings = new ArrayList<>(); for (String s : lis<caret>t) { List<CharSequence> e = Collections.singletonList(s); strings.add(e); } return strings; }