for(int i=0; i<76; i++) { test1 = raf.readLine(); test2 = raf.readLine(); test3 = raf.readLine(); test4 = raf.readLine(); test5 = raf.readLine(); test6 = raf.readLine(); testDouble = raf.readDouble(); Node tempNode = new Node(test1, test2, test3, test4, test5, test6, testDouble); Global.GlobalLinkedList.addnode(tempNode); } raf.close();
i need it so that instead of doing this 76 times it does it until it reaches the end of the of the cat.dat file (very dr.seuss name huh?)


LinkBack URL
About LinkBacks
Reply With Quote