具体策略(ConcreteStrategy)角色:包装了相关的算法或行为。 1.1 案例代码. 策略模式上下文 public class Context { //持有一个具体策略的对象 ...
確定! 回上一頁