有幸得到一本第四版的,虽然以前看过第三版的,总觉得翻译不佳,而且看起来比较难懂,尤其是输入输出系统的时候完全找不到感觉,几个流就把我弄得云里雾里。25号得到第四版,从开始看到现在看到初始化与清理,感觉条理相当的清晰,内容理解的也比以前深入了 ,但是还是有些地方需要反复阅读才能理解的透彻,可能是行文比 ...
分类:
编程语言 时间:
2018-10-31 10:44:37
阅读次数:
230
newCachedThreadPool线程池: 理解: 1).newCachedThreadPool可以创建一个无限大小的线程池(实际上是一个可缓存线程池)。 可以通过Executors的静态方法创建线程池: public static ExecutorService newCachedThread ...
分类:
编程语言 时间:
2018-10-27 17:43:00
阅读次数:
183
使用Executor java.util.concurrent CachedThreadPool FixedThreadPool SingleThreadExecutor 参考 Java编程思想(第4版) 656页开始 Thinking in Java(第四版 ) 1120页开始 ...
分类:
编程语言 时间:
2018-10-26 19:32:59
阅读次数:
177
初始化未定义的s3被构造器的覆盖了,也就是构造器内的初始化会覆盖类初始化的域。代码来自thinking 练习题的一个大神。 ...
分类:
其他好文 时间:
2018-10-15 18:23:02
阅读次数:
123
前言 反射是框架设计的灵魂,使用的前提条件:必须先得到字节码的Class,Class类用于表示字节码,字节码即是.class文件 概述 JAVA反射机制:在程序运行的过程中,对于任意一个类,都可以知道这个类的所有信息,比如:成员变量、方法、构造方法、包等信息;要想用反射机制,首先要获取到 该类的字节 ...
分类:
编程语言 时间:
2018-10-15 14:57:20
阅读次数:
171
简易的对象池,需要深入了解的话,得阅读<<Thinking in Pattern>> ...
分类:
其他好文 时间:
2018-09-18 20:46:18
阅读次数:
149
A. An Olympian Math Problem 54.28% 1000ms 65536K Alice, a student of grade 66, is thinking about an Olympian Math problem, but she feels so despair th ...
分类:
其他好文 时间:
2018-09-12 21:42:51
阅读次数:
298
Alice, a student of grade 6, is thinking about an Olympian Math problem, but she feels so despair that she cries. And her classmate, Bob, has no idea ...
分类:
其他好文 时间:
2018-09-02 01:53:37
阅读次数:
444
题目链接:https://nanti.jisuanke.com/t/30990 Alice, a student of grade 6, is thinking about an Olympian Math problem, but she feels so despair that she cri ...
分类:
其他好文 时间:
2018-09-01 20:28:35
阅读次数:
182
A: Secret of Chocolate Poles 题目描述 Wendy, the master of a chocolate shop, is thinking of displaying poles of chocolate disks in the showcase. She can u ...
分类:
其他好文 时间:
2018-08-29 19:55:33
阅读次数:
184