How To Convert Object Into Integer In Java