I don't really feel comfortable with the following code, but I don't know how to implement it in a more efficient way.
    List<String> words = new ArrayList<String>();
    for (String line : newList) {
        String[] lineArray = line.split(" ");
        for (String l : lineArray) {
            words.add(l);
        }
    }
 
     
    