List<String> words = Arrays.asList("a", "b", "c", "d"); List<String> caps = Lists.transform(words, word -> word.toUpperCase()); System.out.println(caps);
List<String> words = Arrays.asList("a", "b", "c", "d"); List<String> caps = Lists.transform(words, word -> word.toUpperCase()); System.out.println(caps);