![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java
文章平均质量分 78
fangxubz
这个作者很懒,什么都没留下…
展开
-
用java写个死锁
public class DeadLockDemo { private static String A = "A"; private static String B = "B"; public static void main(String[] args){ new DeadLockDemo().deadLock(); } private原创 2016-08-22 20:19:52 · 538 阅读 · 0 评论 -
公众号开发-下载图片并上传到微信素材库
public static byte[] getFileStream(String url){ HttpClient client = HttpClientBuilder.create().build(); RequestConfig requestConfig = RequestConfig.custom().setSocketTimeout(3000).setC原创 2017-07-26 12:00:48 · 1557 阅读 · 1 评论