I'm trying to make a hash table that will store many sets of four integers. As part of this I thought I could store each set of integers in an 4 x 1 integer array and then store the arrays in a linked list. I've added arrays okay using the LinkedList class but I can't work out how to access the arrays once they are in the linked list. Here's some of the code:
int arrayOne = new int; int arrayTwo = new int;
Thanks a lot for your reply - you're right it *does* work! I feel stupid now. I tried lots of other things before I tried that last line and my code was a lot messier with many extra lines and I didn't test the last line properly. Ahem.