List<List<String>> (List<List<List<String>>> list) { List<List<String>> result = new ArrayList<>(); for (List<List<String>> lists : list) { for (List<String> strings : lists) { result.add(strings); } } return result; }