Ok right I've managed to sort myself out with it now - was in a major panic earlier.
I now have the following segments of code:
private LinkedList[] graph = new LinkedList[100];
and to add data to it where src and dest are ints indicating the source and destination - the src references the array index and the dest is stored as data in that list:
graph[src].addLast(dest);
However I get a warning with this code saying "unchecked call to addLast(E)". I found a webpage here,
http://www.rgagnon.com/javadetails/java-0521.html , that seems to suggest I need to put <int> in a couple of places in my first line of code defining the data structure. I can't seem to get it anywhere without it giving me an error and not compiling though. I'll attach my source file in a sec...