08 2020 档案

摘要:https://www.jianshu.com/p/f5968d2a965f 阅读全文
posted @ 2020-08-26 17:17 whhhd 阅读(174) 评论(0) 推荐(0) 编辑
摘要:1.文件对象File: //绝对路径 File f1 = new File("d:/LOLFolder"); //相对路径,相对于工作目录,如果在eclipse中,就是项目目录 File f2 = new File("LOL.exe"); //把f1作为父目录创建文件对象 File f3 = new 阅读全文
posted @ 2020-08-25 16:12 whhhd 阅读(249) 评论(0) 推荐(0) 编辑
摘要:什么是消息队列 来看看维基百科怎么说的,顺带学学英语这波不亏: In computer science, message queues and mailboxes are software-engineering components typically used for inter-process 阅读全文
posted @ 2020-08-12 16:20 whhhd 阅读(153) 评论(0) 推荐(0) 编辑
摘要:https://juejin.im/post/6857287743966281736#heading-75 阅读全文
posted @ 2020-08-05 15:44 whhhd 阅读(88) 评论(0) 推荐(0) 编辑
摘要:前言: 我们之前使用线程的时候都是使用new Thread来进行线程的创建,但是这样会有一些问题。如: a. 每次new Thread新建对象性能差。b. 线程缺乏统一管理,可能无限制新建线程,相互之间竞争,及可能占用过多系统资源导致死机或oom。c. 缺乏更多功能,如定时执行、定期执行、线程中断。 阅读全文
posted @ 2020-08-04 16:47 whhhd 阅读(403) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示