Karteikarten
Design patterns
Karten in diesem Stapel (25)
- 1Chain of ResponsibilityA way of passing a request between a chain of objects
- 2CommandEncapsulate a command request as an object
- 3InterpreterDesign pattern that specifies how to evaluate sentences in a language.
- 4IteratorSequentially access elements in a collection.
- 5MediatorSpecifies decoupled communication between the objects.
- 6MementoCapture and restore object's internal state.
- 7Null ObjectObject representing null or empty value.
- 8ObserverProvides a way of notifying set of objects.
- 9StateAlter an object's behavior depending on a state.
- 10StrategyIncapsulate algorithm inside a class.
- 11Template methodDefer exact steps of an algorithms to a subclass.
- 12VisitorRepresent an operation to be performed on elements of an object structure. Visitor lets you define a new operation without changing the classes of the elements on which it operates.
- 13AdapterMatch interfaces of different classes.
Adapter provides a different interface to its subject. Proxy provides the same interface. Decorator provides an enhanced interface. - 14BridgeSeparates interfaces changes with implementations changes.
- 15CompositeDefines a tree structure of simple and composite objects. Whole-Part
- 16DecoratorAdds additional functionality to an object at runtime. Adapter provides a different interface to its subject. Proxy provides the same interface. Decorator provides an enhanced interface.
- 17FacadeA single class that represents an entire subsystem.
- 18FlyweightEliminate copying by sharing common data and using lightweight objects.
- 19Private Class DataIncapsulate class internal data in another class.
- 20ProxyDelay real object instatiation.
Adapter provides a different interface to its subject. Proxy provides the same interface. Decorator provides an enhanced interface. - 21Abstract FactoryCreates an instance of several families of classes.
- 22BuilderSeparate the construction of a complex object from its representation.
- 23Factory MethodDefer object creation decision to a subclass.
- 24PrototypeCreate object through cloning prototypes.
- 25SingletonSingle instance of an object
Informationen
- Beschreibung
- Karteikarten am Design patterns, erstellt von Alexey Avramenko am 09/07/2015.
- Erstellt von
- Alexey Avramenko
- Aufrufe
- 2
- Bewertung