请问在java中我get获取的值的类型是Long类型,然后我要去set一个类型为Integer的值,请问该怎么转换这个Long类型的值呢?
Integer a = Integer.parseInt(b.toString());