摘要: 1、点击“虚拟机”->安装VMwareTools2、挂载后文件默认存放在:/mdeia下3、拷贝到VMwareTools*.gz 到/tmp目录下4、解压 tar -zxvf VM*.gz后,增加vmware-tools-distrib文件夹:5、进入vmware-tools-distrib下,并运... 阅读全文
posted @ 2015-04-09 23:09 张平a 阅读(703) 评论(0) 推荐(0) 编辑
摘要: Java中HashMap遍历的两种方式:第一种: Map map = new HashMap(); Iterator iter = map.entrySet().iterator(); while (iter.hasNext()) { Map.Entry entry = (Map.Entry... 阅读全文
posted @ 2015-04-09 13:51 张平a 阅读(130) 评论(0) 推荐(0) 编辑
摘要: 1. Math.ceil()用作向上取整。2. Math.floor()用作向下取整。3. Math.round() 我们数学中常用到的四舍五入取整。 阅读全文
posted @ 2015-04-09 10:34 张平a 阅读(153) 评论(0) 推荐(0) 编辑