0
I want to take a text file like:
hello my friend
and read it into memory, for example as a LinkedList, so I get
{"hello", "my", "friend"}
Right now, I'm using StringBuilder, like this:
private void getTokens() throws IOException {
StringBuilder sb = new StringBuilder();
int ch;
...