![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
博客收集
WangPeng朝圣之路
才华撑不起野心
展开
-
单例模式简单介绍
静态内部类 实现了线程安全,又避免了同步带来的性能影响。public class Singleton{ private Singleton(){} private static class LazyHolder{ private static final Singleton INSTANCE = new Singleton(); } public static fi原创 2016-05-02 00:08:02 · 228 阅读 · 0 评论 -
经典博客
主要将一些好的博客文章收集起来 讲解okhttp的用法及封装:http://blog.csdn.net/lmj623565791/article/details/49734867转载 2016-03-20 14:59:08 · 291 阅读 · 0 评论