get可能取不到值,put可能丢失数据,极端情况hashmap会被清空。1.7还可能会死循环,1.8已解决。

相关推荐

牛客网
牛客网在线编程
牛客网题解
牛客企业服务