摘要: BigDecimal 1. BigDecimal加减乘除后,最终结果为返回值,原来的BigDecimal对象不变。 2. BigDecimal比较用 compareTo方法 阅读全文
posted @ 2019-04-25 16:14 parkdifferent 阅读(980) 评论(0) 推荐(0)
摘要: In contrast, the lifecycle of a bean in a Spring container is more elaborate. It’simportant to understand the lifecycle of a Spring bean, because you 阅读全文
posted @ 2019-04-24 20:43 parkdifferent 阅读(173) 评论(0) 推荐(0)
摘要: https://github.com/crossoverJie/Java-Interview Java-Interview https://github.com/aalansehaiyang/technology-talk?hmsr=toutiao.io&utm_medium=toutiao.io& 阅读全文
posted @ 2019-04-24 11:33 parkdifferent 阅读(286) 评论(0) 推荐(0)
摘要: 参考文献 Class Loaders in Java https://www.baeldung.com/java-classloaders 类加载原理分析&动态加载Jar/Dex https://www.jianshu.com/p/0b1dba1a1e95 阅读全文
posted @ 2019-04-10 09:54 parkdifferent 阅读(444) 评论(0) 推荐(0)
摘要: 参考文献 Introduction to Java 8 Streams https://www.baeldung.com/java-8-streams-introduction A Guide to Streams in Java 8: In-Depth Tutorial with Examples 阅读全文
posted @ 2019-04-09 14:23 parkdifferent 阅读(128) 评论(0) 推荐(0)
摘要: 运行结果: 阅读全文
posted @ 2019-04-08 15:24 parkdifferent 阅读(114) 评论(0) 推荐(0)
摘要: 五种IO模型介绍和对比 https://juejin.im/post/5bd32b84f265da0ac962e7c9 Linux 的 IO 通信 以及 Reactor 线程模型浅析 https://juejin.im/entry/5abc896c6fb9a028c675c837 阅读全文
posted @ 2019-04-02 10:36 parkdifferent 阅读(409) 评论(0) 推荐(0)
摘要: JAVA的网络IO模型彻底讲解 https://mp.weixin.qq.com/s/zRBH6SJjRqBiZSmK6fREUw Netty 系列之 Netty 线程模型 https://infoq.cn/article/netty-threading-model Netty中,耗时的业务逻辑代码 阅读全文
posted @ 2019-03-26 11:25 parkdifferent 阅读(106) 评论(0) 推荐(0)
摘要: Centos安装MySQL: https://qizhanming.com/blog/2017/05/10/centos-7-yum-install-mysql-57 ALTER USER 'root'@'localhost' IDENTIFIED BY 'xxx'; GRANT ALL PRIVI 阅读全文
posted @ 2019-01-25 10:29 parkdifferent 阅读(104) 评论(0) 推荐(0)
摘要: Comparable interface can be used to provide single way of sorting whereas Comparator interface is used to provide different ways of sorting. For using 阅读全文
posted @ 2018-10-16 11:15 parkdifferent 阅读(326) 评论(0) 推荐(0)