请教想编这样的一个函数: public static Class<?> getWrapperClass(Class<?> type) {
if (type.isPrimitive()) {
//返回 对应的wrapper class
//TODO
} else {
return type;
}
}但是我不知应该怎样写 TODO部分,请帮忙。
if (type.isPrimitive()) {
//返回 对应的wrapper class
//TODO
} else {
return type;
}
}但是我不知应该怎样写 TODO部分,请帮忙。
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货