It looks like you're missing a generic declaration on the temp variable. I'll assume that temp is a map (based on the fact that it has a get method.) If this is the case, then you are probably not completely declaring the generic types for this map. If the type of 'theToken' is String, then your map appears to be mapping between String and ArrayList. As such it's declaration should look something like this:
Map<String, ArrayList<Integer>> temp = new HashMap<String, ArrayList<Integer>>();
To improve your stile a little you could switch from referencing the specific type 'ArrayList' to the interface List by changing those two lines to look like this:
Map<String, List<Integer>> temp = new HashMap<String, List<Integer>>();
What this does is make it so that you can change from one kind of list (like ArrayList) to another (like Vector or LinkedList) without changing any of the code that uses them.