java的object类型转换成数字型

代码如下

	Object isLifeInOtherCountry=  info.get("is_life_in_other_country");
  	if(isLifeInOtherCountry != null){
            Integer ioc=Integer.valueOf(isLifeInOtherCountry.toString());
            }

猜你喜欢

转载自blog.csdn.net/qq_42689281/article/details/83414814