Parse Object to int Java

int i = (Integer) object;
Wrong Wasp