![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Java
文章平均质量分 74
Aniche
这个作者很懒,什么都没留下…
展开
-
JS直接从request.Attribute取值
Servlet中的代码:request.setAttribute("methodId", method);request.setAttribute("infos",infos);request.setAttribute("currentPage", String.valueOf(currentPage));request.setAttribute("count", count);req原创 2016-06-02 17:00:12 · 15064 阅读 · 1 评论 -
深入理解Map与Set---用集成HashSet来实现Map
/**为了把Set扩展成Map,可以考虑新增一个SimpleEntry类,该类代表一个key-value对,当Set集合的集合元素都是SimpleEntry对象时,该Set集合就能被当成Map使用*/class SimpleEntry implements Map.Entrys, java.io.Serializable{ private final K key; private原创 2016-06-13 16:22:57 · 283 阅读 · 0 评论