Creational Design Patterns
- provide various object creation mechanisms, which increase flexibility and reuse of existing code
Creational Design Patterns
|
SINGLE method creating objects of SAME/SIMILAR type without specifying the concrete class (not overridable) | |
|
SINGLE method creating objects of SAME/SIMILAR type without specifying the concrete class (overridable) | |
|
MULTIPLE methods creating a FAMILY of DIFFERENT and/or RELATED object types without specifying the objects’ concrete classes (overridable) | |
|
a factory that produces customizable factories during runtime | |
|
provides a way to customizable factories during runtime | |
|
used to separate the construction of a complex object from its representation | |
|
an extension of the Builder Pattern that guides the user through the construction of the complex object | |
|
used to create objects that are clones of a prototypical instance | |
|
used to create builder objects that are clones of a prototypical instance and/or builder-instance | |
|
used to ensure a SINGLE instance of a class, and provides global access to it | |
|
used to ensure N instances of a class, and provides global access to it | |
|
used to provide a cache of instantiated objects and for tracking which ones are in use and which are available | |
|
used to control large numbers of fine-grain object creation, by sharing to reduce memory usage | |