The Strategy Pattern defines a family of algorithms, encapsulates each one, and makes them interchangeable. Strategy lets the algorithm vary independently from clients that use it.
策略模式定义了一系列的算法,并将这些算法封装起来,而且他们还可以相互替换。它让算法独立与使用它的客户而独立变化。
The Strategy Pattern defines a family of algorithms, encapsulates each one, and makes them interchangeable.
策略模式定义了一族算法,并将每一个都进行封装使他们变得通用。
The Strategy Pattern defines a family of algorithms, encapsulates each one, and makes them interchangeable. Strategy lets the algorithm vary I...
策略模式定义了算法族,分别封装起来,让它们之间可以相互替换,此设计模式让算法的变化独立于使用算法的客户。
The Strategy Pattern defines a family of algorithms, encapsulates each one, and makes them interchangeable.
策略模式定义了一系列的算法,并将每一个算法封装起来,而且使它们还可以相互替换。
The Strategy Pattern defines a family of algorithms, encapsulates each one, and makes them interchangeable. Strategy lets the algorithm vary independently from clients that use it.
策略模式定义了一系列的算法,并将每一个算法封装起来,而且使它们还可以相互替换。
The Strategy Pattern defines a family of algorithms, encapsulates each one, and makes them interchangeable. Strategy lets the algorithm vary independently from clients that use it.
它定义了算法族,分别封装起来,让他们之间可以互相替换,此模式让算法的变化独立于使用算法的客户。