The Abstract Factory: Resonating Geodes
Conjuring families of related crystalline structures without specifying their concrete gem classes.
Conjuring families of related crystalline structures without specifying their concrete gem classes.
Converting the interface of a class into another interface clients expect.
Decoupling an abstraction from its implementation so that the two can vary independently.
Separating the construction of a complex crystal structure from its final representation.
Avoiding coupling the sender of a request to its receiver by giving more than one object a chance to handle the request.
Encapsulating a request as an object, thereby letting you parameterize clients with different requests, queue or log requests, and support undoable operations.
Composing objects into tree structures to represent part-whole hierarchies.
Attaching additional responsibilities to an object dynamically.
Providing a unified interface to a set of interfaces in a subsystem.
Defining an interface for creating a gem shard, letting subclasses decide which type to instantiate.
Using sharing to support large numbers of fine-grained objects efficiently.
Given a language, defining a representation for its grammar along with an interpreter that uses the representation to evaluate sentences in the language.
Providing a way to access the elements of an aggregate object sequentially without exposing its underlying representation.
Defining an object that encapsulates how a set of objects interact, keeping them from referring to each other explicitly.
Capturing and externalizing an object's internal state so that the object can be restored to this state later.
Defining a one-to-many dependency between objects so that when one object changes state, all its dependents are notified.
Specifying the kinds of magical objects to create using a prototypical instance, and creating new ones by copying.
Providing a surrogate or placeholder for another object to control access to it.
Ensuring a class has only one instance, and providing a global point of access to it.
Allowing an object to alter its behavior when its internal state changes. The object will appear to change its class.
Defining a family of algorithms, encapsulating each one, and making them interchangeable.
Defining the skeleton of an algorithm in an operation, deferring some steps to subclasses.
Representing an operation to be performed on the elements of an object structure. Visitor lets you define a new operation without changing the classes of the elements on which it operates.