- 博客(2)
- 收藏
- 关注
转载 ServletContextListener
在Servlet API中有一个ServletContextListener接口,它能够监听ServletContext对象的生命周期,实际上就是监听Web应用的生命周期。当Servlet容器启动或终止Web应用时,会触发ServletContextEvent事件,该事件由ServletContextLis...
2018-05-02 22:38:38
150
原创 怎么实现List中的对象分组统计?
现有List<DeviceVO> list,DeviceVO有属性area(地名),up_status_1(状态,在线为“101”或“201”);根据area地名分组统计up_status_1在线数,离线数,并统计总数组?返回的结果为List<G4DeviceStateVO> rList,G4DeviceStateVO有属性totalNum, onlineNu...
2018-05-02 22:04:07
5196
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅