objeto java a int
int startInt = 12;
Object startObject = startInt;
if(startInt instanceof int) {
int endInt = (int) startInt; // Object is int.
} else {
// Object is not int.
}
Bredo