会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
翎野君
Experience is the father of wisdom and memory the mother.
博客园
首页
新随笔
联系
订阅
管理
2022年8月17日
Map<Integer,Value>放入缓存后取出来变成了Map<String,Value>
摘要: 背景 将一个类型为Map<Integer, String>的一个Map对象放到redis中后,再次取出来时。当我们想便利Map.entrySet()获取每个Entry中的Key,如执行Integer key = entry.getKey(); 那么在执行时就会报错:java.lang.ClassCa
阅读全文
posted @ 2022-08-17 00:02 翎野君
阅读(833)
评论(0)
推荐(0)
公告