- 博客(2)
- 资源 (1)
- 收藏
- 关注
原创 对List集合中的对象进行按某个属性排序
一 、通过code自然排序resultList.sort((h1, h2) -> h1.getCode().compareTo(h2.getCode()));二 、通过code反序排列Comparator<ProomRealTimeOut> comparator = (h1, h2) -> h1.getCode().compareTo(h2.getCode())...
2019-03-29 10:30:03 3128
原创 Apache POI 导出多工作表的XLS文件(Java)
谨以此文献给天上星导出多个工作表的Excelpackage com.*.utils;import java.io.OutputStream;import java.util.List;import java.util.stream.Collectors;import javax.servlet.http.HttpServletResponse;import org...
2019-03-28 13:39:05 114
Thomas Calculus 14th
2018-04-20
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人