随笔分类 -  设计模式

摘要:策略模式比如SpringMVC的HandlerMethodArgumentResolver接口,使用HandlerMethodArgumentResolverComposite(实现HandlerMethodArgumentResolver接口),通过遍历内部所有的HandlerMethodArgu 阅读全文
posted @ 2019-09-03 17:35 tonggc1668 阅读(206) 评论(0) 推荐(0)
摘要:观察者模式 vs 发布订阅模式 https://zhuanlan.zhihu.com/p/51357583 【设计模式】最常用的设计模式之一的观察者模式 【设计模式】最常用的设计模式之一的观察者模式 https://blog.csdn.net/colinandroid/article/details 阅读全文
posted @ 2019-07-22 23:36 tonggc1668 阅读(91) 评论(0) 推荐(0)
摘要:https://www.jianshu.com/p/f2384c750a6c https://www.jianshu.com/p/e4197a54828d 阅读全文
posted @ 2019-07-22 15:00 tonggc1668 阅读(122) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/gyshun/article/details/81000997 阅读全文
posted @ 2019-07-20 12:20 tonggc1668 阅读(406) 评论(0) 推荐(0)
摘要:我要逛街去了小王问的问题 >1 + 1 = ?小李告诉小王的答案是 >答案是2 阅读全文
posted @ 2018-12-07 10:58 tonggc1668 阅读(212) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/csdnliuxin123524/article/details/80032262 public class InnerSingleton { private static class Singleton{ private static InnerSing 阅读全文
posted @ 2017-09-08 14:39 tonggc1668 阅读(74) 评论(0) 推荐(0)
摘要:applicationContext-common-threadpool.xml 阅读全文
posted @ 2017-09-07 10:21 tonggc1668 阅读(121) 评论(0) 推荐(0)
摘要:控制台输出为: 做一些事情吃饭跑步 代理模式和装饰器模式的区别 https://www.jianshu.com/p/c06a686dae39 阅读全文
posted @ 2017-06-23 16:17 tonggc1668 阅读(130) 评论(0) 推荐(0)