what do you mean design? I have the text file going into an array and I need to know how to convert the arrary into a queue so I can do step 3.
Type: Posts; User: wmar9599
what do you mean design? I have the text file going into an array and I need to know how to convert the arrary into a queue so I can do step 3.
I actually dont know how to do a queue class. I googled something like this
"Queue<String> qe=new LinkedList<String>();
qe.add("b");
qe.add("a");
qe.add("c");"
But...
I will reformat the code to make it easier to read and put it back up here later today
ps - here is my test.txt file if you need it. I made it marvel themed to make it more fun.
Stark, Tony, 06:03, 9
Wilson, Wade, 06:30, 21
Parker, Peter, 07:32, 5
Summers, Scott, 08:08, 34...
import java.io.BufferedReader;
import java.io.*;
import java.util.*;
import java.util.concurrent.TimeUnit;
/**
*
* @author Will
I replied with my code ... part 4 is due tomorrow and part 5 is due next week so that one is not as high priority.
--- Update ---
import java.io.BufferedReader;
import java.io.*;
import...
Alright here is my code so far ... I am on part 3 now but not getting a hang of it. What my code does ... part 1 and 2 works properly. part 3 dont know how to get the queue line working so any...
I have a project that I am having trouble with! Any help would be greatly appreciated! It is a five part project, meaning at the end all 5 must be done and included in the project. Each part just...