Design Patterns Study Notes 1-- create schema

1. Create a schema

  a. singleton mode idler mode starving

  b. factory pattern simple factory factory method abstract factory

    Factory Method pattern abstract factory pattern is an extreme case (that is, only the abstract factory pattern of production of a product), and abstract factory pattern can be seen as a generalization of the factory method pattern.

  c. the builder pattern builder model is a car assembly factory, by assembling the parts of a complete car can be returned.

  d. prototype model clone

Guess you like

Origin www.cnblogs.com/fuzr/p/10958734.html