How to determine if Object is Integer? Something like:
if (obj.isInteger()) {...}
if(ob instanceof Integer) { your code/logic here}