Standard Collections
Java Collections framework
A simple way to construct a List from individual data values is to use java.utils.Arrays method Arrays.asList:
List<String> data = Arrays.asList("ab", "bc", "cd", "ab", "bc", "cd");
...