08 2019 档案

摘要://集合转数组List list = new ArrayList(2); list.add("guan"); list.add("bao"); String[] array = new String[list.size()]; array = list.toArray(array); //数组转集合 Sring[] -> list list list.toArray(new Strin... 阅读全文
posted @ 2019-08-26 13:24 TheQi 阅读(132) 评论(0) 推荐(0)
摘要:public static void main(String[] args) { ForkJoinTask<Long> myForkJoinPool = new MyForkJoinPool(1L,999999999L); ForkJoinPool pool = ForkJoinPool.commonPool(); Future<Long> future = pool.submit(myForkJ 阅读全文
posted @ 2019-08-23 17:26 TheQi 阅读(207) 评论(0) 推荐(0)
摘要:import com.google.common.collect.Lists; import com.jayway.jsonpath.Configuration; import com.jayway.jsonpath.DocumentContext; import com.jayway.jsonpath.JsonPath; import com.jayway.jsonpath.Option; ... 阅读全文
posted @ 2019-08-22 11:56 TheQi 阅读(246) 评论(0) 推荐(0)
摘要:private static final Logger logger = LoggerFactory.getLogger(JsonUtils.class); private static final ObjectMapper mapper = new ObjectMapper(); static { mapper.configure(JsonParser.Feature.ALLOW_COMMENT 阅读全文
posted @ 2019-08-22 10:41 TheQi 阅读(642) 评论(0) 推荐(0)
摘要:import com.google.common.collect.Lists; import java.util.List; import java.util.concurrent.Callable; import java.util.concurrent.CountDownLatch; import java.util.concurrent.Future; import java.util.... 阅读全文
posted @ 2019-08-21 19:32 TheQi 阅读(166) 评论(0) 推荐(0)
摘要:import com.google.common.base.Joiner; import com.google.common.base.Splitter; import com.google.common.collect.Lists; import com.google.common.collect.Maps; import org.apache.commons.lang.StringUtils; 阅读全文
posted @ 2019-08-21 19:31 TheQi 阅读(220) 评论(0) 推荐(0)
摘要:import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.w3c.dom.Document; import org.w3c.dom.Element; import org.w3c.dom.Node; import org.w3c.dom.NodeList; import java.io.File; import java 阅读全文
posted @ 2019-08-21 19:29 TheQi 阅读(951) 评论(0) 推荐(0)
摘要:https://www.cnblogs.com/midoujava/p/11277096.html 阅读全文
posted @ 2019-08-02 16:23 TheQi 阅读(102) 评论(0) 推荐(0)