设计模式
勋章medal
总得留下点什么。。。。
展开
-
设计模式 --- 静态代理
静态代理代码非常简单,简单明了,主要是思想。/** * @ClassName ProxyInterface * @Description 静态代理(代理接口) * @Autor d * @Date 2019/2/25 14:56 * @Version 1.0 */public interface ProxyInterface { /** * 静态代理方法 ...原创 2019-02-25 15:14:55 · 67 阅读 · 0 评论 -
代理模式 -- 动态代理
超级简单的代码示例,我更喜欢简单的代码去表达动态代理的思想 /** * @ClassName ProxyInterface * @Description 代理对象 * @Autor d * @Date 2019/2/26 15:05 * @Version 1.0 */public interface ProxyInterface { /** * 代理方法 ...原创 2019-02-26 15:43:16 · 118 阅读 · 0 评论