Java设计模式之(十四)——策略模式
- 2021 年 12 月 3 日
- 筆記
1、什么是策略模式? Define a family of algorithms, encapsulate each o …
Continue Reading1、什么是策略模式? Define a family of algorithms, encapsulate each o …
Continue Reading1、什么是模板模式? Define the skeleton of an algorithm in an operati …
Continue Reading1、什么是观察者模式? Define a one-to-many dependency between objects …
Continue Reading1、什么是享元模式? Use sharing to support large numbers of fine-grai …
Continue Reading1、什么是组合模式? Compose objects into tree structures to represent …
Continue Reading1、什么是门面模式? Provide a unified interface to a set of interface …
Continue Reading1、什么是适配器模式? Convert the interface of a class into another in …
Continue Reading1、什么是桥接模式? Decouple an abstraction from its implementation s …
Continue Reading1、什么是代理模式 Provide a surrogate or placeholder for another obj …
Continue Reading1、什么是原型模式 Specify the kinds of objects to create using a pro …
Continue Reading