![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
设计模式
baoyin1117
这个作者很懒,什么都没留下…
展开
-
抽象工厂方法
public interface Moveable { void run(); } public class Car implements Moveable { public Car(){} public void run() { System.out.println("冒烟跑东北…………………………"); } } public cla原创 2012-10-22 21:20:36 · 273 阅读 · 0 评论 -
责任链设计模式
package com.huawei.oss.filter; public interface Filter { void doFilter(Request request,Response response,FilterChain chain); } package com.huawei.oss.filter; public class FaceFilter imp原创 2013-04-09 21:11:59 · 402 阅读 · 0 评论