Konversi String ke Daftar Java 8

String txt="Hello World I am a text";
List<String> seperated=Arrays.asList(txt.split(" "));
System.out.println(seperated);//[Hello, World, I, am, a, text]
dan1st