Hello,
This is probably really simple but I really could not word it properly on Google. See, I have a ArrayList that keeps the info for each thread. Each thread has it's own ID. So, at the beggining:
myList.add(theIdOfTheThread, new InfoForTheThread()); //Add new thread info at index theIdOfTheThread
And when I want info:
myList.get(myId); //The info for the thread
But, I always get OutOfRangeExceptions whenever a lower thread finishes and removes it's entry, etc. So, I am sure there must be a better class to use for this, where I can just put entries in at any index I want, and pull them out at any index I want and they stay.
Thanks, Isaac Waller