02 2015 档案

摘要:《解忧杂货店》 《程序员健康指南》 《凤凰周刊-你不知道的日本》 阅读全文
posted @ 2015-02-27 23:20 林本托 阅读(383) 评论(0) 推荐(0) 编辑
摘要:To fight the unthinkable,you have to be willing to do the unthinkable.不要在循环中使用try catch,应该放在循环的外面。One Line务必让常量的值在运行期间保持不变。保证三元操作符中的两个操作类型一致。反序列化时构造方法... 阅读全文
posted @ 2015-02-22 21:36 林本托 阅读(385) 评论(0) 推荐(0) 编辑
摘要:下面以Oracle的JDK7update 51为例:• 32-bit JDK on Windows:C:\Program Files (x86)\Java\jdk1.7.0_51• 64-bit JDK on Windows:C:\Program Files\Java\jdk1.7.0_51• Ma... 阅读全文
posted @ 2015-02-17 11:18 林本托 阅读(2481) 评论(0) 推荐(0) 编辑
摘要:To all developers who strive for continuous self-improvement...Who are not satisfied with good enoughWho always seek every opportunity to expand their... 阅读全文
posted @ 2015-02-17 10:43 林本托 阅读(259) 评论(0) 推荐(0) 编辑
摘要:概述很多java 方法会使用函数式接口作为参数。例如,java.util.Arrays类中的一个sort方法,就接受一个Comparator接口,它就是一个函数式接口,sort方法的签名如下:public static T[] sort(T[] array, Comparator comparato... 阅读全文
posted @ 2015-02-16 17:00 林本托 阅读(921) 评论(0) 推荐(0) 编辑
摘要:第一章 Lambda表达式 Lamada 表达式是Java SE 8中最重要的新特性,长期以来被认为是在Java中缺失的特性,它的出现使整个java 语言变得完整。至少到目前,在这节中你将学习到什么是lambda,为什么他是出色的一部分。同时也会介绍一些新的技术例如单一抽象方法和函数式接口。 为... 阅读全文
posted @ 2015-02-12 16:52 林本托 阅读(2005) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2015-02-06 16:07 林本托 阅读(196) 评论(0) 推荐(0) 编辑
摘要:It’s relatively common for a try block to be followed by several catch blocks to handle various types of exceptions. If the bodies of several catch bl... 阅读全文
posted @ 2015-02-06 16:04 林本托 阅读(419) 评论(0) 推荐(0) 编辑
摘要:java.util.Random 产生确定的值可能被恶意的程序预测到。java.security.SecureRandom 产生不确定的随机数不能被预测到。所以优先使用java.security.SecureRandom类。 阅读全文
posted @ 2015-02-06 14:29 林本托 阅读(2012) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2015-02-06 13:27 林本托 阅读(168) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2015-02-05 14:00 林本托 阅读(1001) 评论(0) 推荐(0) 编辑

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