Scusa, più che castare intendevo dire parsare

codice:
int a = Integer.parseInt((String)lista.dammiValore(3));