Friday, 16 May 2014

BufferedReader

I totally forgot - I ended up starting the readerFromFile method last class. And I got to declaring the BufferedReader, the try catch statements, and printing out the number of indices, until I got really confused about how to read from it. 

It wasn't until I got on the bus today and it all made sense. I could read in the first __ things in the list, which would be the information required in the node. Then, I can just use the node-constructor to create a node and then add that to the teacherList. 

So yeah..weird things come to be in weird place. 

No comments:

Post a Comment