parse obse to int java

int i = (Integer) object;
Wrong Wasp