摘要:
原文:https://www.cnblogs.com/aspirant/p/7200523.html <clinit>() 类构造器方法 在 类初始化阶段 被执行 由编译器自动收集类中的所有类变量的赋值动作和静态语句块static{}中的语句合并产生的,编译器收集的顺序是由语句在源文件中出现的顺序所 阅读全文
posted @ 2019-08-03 16:41
DDiamondd
阅读(235)
评论(0)
推荐(0)
摘要:
很全面的一篇文章: https://www.cnblogs.com/aspirant/p/8662690.html System.gc() : https://www.cnblogs.com/xushuyi/articles/9577957.html System.gc() 不一定能立即执行垃圾回收 阅读全文
posted @ 2019-08-03 15:21
DDiamondd
阅读(111)
评论(0)
推荐(0)
摘要:
https://blog.csdn.net/michaelgo/article/details/82790253 https://www.jianshu.com/p/f1d68fdd58b6 什么是异常 异常的英文单词是exception,字面翻译就是“意外、例外”的意思,也就是非正常情况。事实上, 阅读全文
posted @ 2019-08-03 10:02
DDiamondd
阅读(185)
评论(0)
推荐(0)
摘要:
三者都实现了List接口! Vector与ArrayList:采用顺序存储的方式,但是Vector是线程安全的,ArrayList是线程不安全的,按需使用; 当存储空间不足的时候,ArrayList默认增加为原来的50%,Vector默认增加为原来的一倍即100%(Vector可以设置容量增长参数) 阅读全文
posted @ 2019-08-03 09:24
DDiamondd
阅读(139)
评论(0)
推荐(0)
摘要:
【 线程池的作用,Executors创建线程池,常见工作队列】:https://www.jianshu.com/p/6c6f396fc88e 【Exectros方式创建线程池和ThreadPoolExecutor的构造函数创建线程池】:https://blog.csdn.net/hollis_chu 阅读全文
posted @ 2019-08-03 08:50
DDiamondd
阅读(207)
评论(0)
推荐(0)
该文被密码保护。 阅读全文
posted @ 2019-08-03 08:30
DDiamondd
阅读(1)
评论(0)
推荐(0)

浙公网安备 33010602011771号