|
int myInt = Integer.parseInt(S.get(2));
or somthing very, very similar to that. In any case, check out the Integer class.
If you're using 1.5, Java automatically wraps ints into Integer, in order to store them on thie LinkedList (as the list stores its data as Object, which doesnt like primatives.)
So, the LinkedList should return an Integer, which you unwrap with Integer.parseInt
|