
HashMap
L-岁月染过的梦
这个作者很懒,什么都没留下…
展开
-
关于mybatisPlus的Ipage分页和map参数的问题
前提先有一个map类型的参数Map params= new HashMap();params.put("name","张三");params.put("age","23");第一种情况 List<Map<String,Object>> selectList(@Param("params") HashMap params);这种也是我们最常用的一种不管参数是什么类型都可以省略,但是要写上返回值类型(根据自己的情况) <select id="sele原创 2021-04-24 01:05:01 · 4526 阅读 · 1 评论 -
JDK1.8 HashMap ----resize源码解读
/** * Initializes or doubles table size. If null, allocates in * accord with initial capacity target held in field threshold. * Otherwise, because we are using power-of-two expansion, the * elements from each bin must either stay at sa原创 2020-10-05 09:00:57 · 248 阅读 · 3 评论