Pattern | Description | Status |
---|---|---|
Factory Method | Defers instantiation of an object to a specialized function for creating instances | ✔ |
Abstract Factory | Provides an interface for creating families of releated objects | ✔ |
Builder | Builds a complex object using simple objects | ✔ |
Singleton | Restricts instantiation of a type to one object | ✔ |
Pattern | Description | Status |
---|---|---|
Strategy | Enables an algorithm's behavior to be selected at runtime | ✔ |
State | Encapsulates varying behavior for the same object based on its internal state | ✔ |
Pattern | Description | Status |
---|---|---|
Adapter | allows objects with incompatible interfaces to collaborate. | ✔ |
Decorator | Adds behavior to an object, statically or dynamically | ✔ |