摘要:
public class WriteFileUtil { /** * 向文件路径path写入内容context * @param path 文件路径 * @param context 写入内容 */ public static void write(String path,String contex 阅读全文
摘要:
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 阅读全文
摘要:
import org.springframework.beans.factory.annotation.Autowired;import org.springframework.data.redis.core.BoundListOperations;import org.springframewor 阅读全文
摘要:
Map<Long, List<LogDataVo>> corpIdMap = list.stream().collect(Collectors.groupingBy(LogDataVo::getCorpId)); 阅读全文