
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