0
点赞
收藏
分享

微信扫一扫

HashMap<String,short>的问题


HashMap<String,short>的问题
改成HashMap<String,Short>就可以了。
HashMap不能使用基本数据类型。
原始类型   封装类

boolean      Boolean

char           Character

byte           Byte

short          Short

int              Integer

long           Long

float           Float

double      Double

举报

相关推荐

0 条评论