Please enable JavaScript.
Coggle requires JavaScript to display documents.
Design Patterns - Coggle Diagram
Design Patterns
Prototype
Specify the kinds of objects to create using a prototypical instance, and create new objects by copying this prototype.
-
-
-
Builder
Separate the construction of a complex object from its representation so that the same construction processes can create different representations.
-
-
singleton
Ensure a class only has one instance, and provide a global point of access to it.
-
-
adapter
Convert the interface of a class into another interface clients expect. Adapter lets classes work together that couldn’t otherwise because of incompatibility interfaces.
-
-
State
Allow an object to alter its behavior when its internal state changes. The object will appear to change its class.
-
-
Abstract Factory
Provide an interface for creating families of related or dependent objects without specifying their concrete classes.
-
-