![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
java流
#java流
杨杨小朋友
这个作者很懒,什么都没留下…
展开
-
jdk1.8 lambda表达式给map排序
lambda表达式给Map排序原创 2022-07-07 19:42:25 · 778 阅读 · 0 评论 -
jdk1.8流和多线程使用代码示范
/** * 新建线程池 * * @param threadNamePrefix 线程名称前缀 batch_payment-%d * */ public static ExecutorService getExecutorService(int corePoolSize, int maxPoolSize, int queueSize, String threadNamePrefix){ ThreadFactory threadFactory = new ThreadFactoryBui.原创 2020-09-30 09:49:34 · 849 阅读 · 1 评论 -
Java使用流的方式发送post请求
例一: public static Map<String,Object> sendMsgtoRHZF (String url, String params){ URL u = null; HttpURLConnection con = null; Map<String,Object> map = new HashMap<String,Object>(); //构建请求参数 Strin原创 2020-06-04 09:57:46 · 1208 阅读 · 0 评论