macOs升级到10.13.1Beta || JAVA升级到最新版之后PhpStorm菜单栏会消失,估计不止出现在PhpStorm,一系列jetbrains的产品可能都会有这个问题,包括eclipise. 解决的办法是: " I also did lost, here's what I did to temporarily fix the problem: Open/Create a new file ~/idea.properties with the following line: appl
1.自动装箱和自动拆箱 自动装箱:基本类型就自动的封装到与它相同类型的包装中:如: 创建一个对象时:Integer i = 100;本质上是编译器编译时为我们添加了:Integer i = new Integer(100); 自动拆箱:包装类对象自动转换成基本类型数据,如: int a = new Integer(100);本质上,编译器为我们添加了:int a = new Integer(100).intValue(); 此类中的方法中的缓存问题 [-128, 127]之间的数,仍然被当做基本