摘要: public class WriteFileUtil { /** * 向文件路径path写入内容context * @param path 文件路径 * @param context 写入内容 */ public static void write(String path,String contex 阅读全文
posted @ 2018-08-14 16:07 pretty flower 阅读(110) 评论(0) 推荐(0) 编辑
摘要: public class TestList { public static void main(String[] args){ List<Integer> list = new ArrayList<Integer>(); for(int i=0;i<12;i++) list.add(i); if(n 阅读全文
posted @ 2018-08-14 16:05 pretty flower 阅读(171) 评论(0) 推荐(0) 编辑
摘要: import org.springframework.beans.factory.annotation.Autowired;import org.springframework.data.redis.core.BoundListOperations;import org.springframewor 阅读全文
posted @ 2018-08-14 15:51 pretty flower 阅读(796) 评论(0) 推荐(0) 编辑
摘要: Map<Long, List<LogDataVo>> corpIdMap = list.stream().collect(Collectors.groupingBy(LogDataVo::getCorpId)); 阅读全文
posted @ 2018-08-14 15:46 pretty flower 阅读(96) 评论(0) 推荐(0) 编辑