08 2022 档案
摘要:实现过程 创建线程池 首先创建一个线程池,这一步骤大同小异 package cn.com.wind.common; import lombok.AllArgsConstructor; import java.util.concurrent.LinkedBlockingDeque; import ja
阅读全文
摘要:创建list // 最简单的 List<String> strings = Lists.newArrayList("a", "b", "c", "d", "a"); List<String> strings2 = new ArrayList<>(); // 创建的list是不可变的 List<Str
阅读全文
摘要:package cn.com.wind.src.utils; import com.fasterxml.jackson.databind.DeserializationFeature; import com.fasterxml.jackson.databind.ObjectMapper; impor
阅读全文
摘要:原文地址:https://blog.csdn.net/weixin_42127766/article/details/117918813 kv颠倒 return map.entrySet().stream().collect(Collectors.toMap(entity-> entity.getV
阅读全文