Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
23 Cards in this Set
- Front
- Back
Pattern that provides an interface for creating families of related or dependent objects without specifying their concrete class. |
Abstract Factory |
|
Convert the interface of a class into another interface the client expects |
Adapter |
|
Decouple an abstraction from its implementation so that two can very independently |
Bridge |
|
Seperate the construction of a complex object from its representation so that the same construction process can create different representations |
Builder |
|
Avoid coupling the sender of a request to its receiver by giving more than one object to handle the request, chain the receiving objects and pass the request along the chain until an object handles it |
Chain of responsibility |
|
Encapsulate a request as an object there by letting paramiterize clients with different requests, queue a lock requests and support undoable opperations |
Command |
|
Compose objects into tree structures to represent hierarchy. |
Composite |
|
Attach additional responsibilities to an object dynamically. Provides a flexible alternative to subclassing for extending functionality. |
Decorator |
|
Provide a unified interface to a set of interfaces in a subsystem. Defines a higher level interface that makes the subsystem be easier to use. |
Facade |
|
Define an interface for creating an object, but let subclasses decide which class instantiate, lets a class defer instantiation to subclasses. |
Factory Method |
|
Use sharing to support large number of fine grained objects efficiently. |
Flyweight |
|
Given a language define a representation for its grammer, along with an interpreter that uses the representation to interepate the sentence in the languate |
Interpreter |
|
Provide a way to access the elements of an aggregate object in order without exposing its underlying representation |
Iterator |
|
Define an object that encapsulates a set of objects interactions
|
Mediator
|
|
Without violating encapsulation, capture and externalize an objects internal state so that the object can be restored to the state later |
Memomento |
|
Define a one to many dependency between object so that is one object changes state all its dependents are notified and updated automatically |
Observer |
|
Specify the kinds of objects using a prototypical instance, and create new objects by copying the prototype |
Prototype |
|
Provide a surrogate or placeholder for another object to control access to it. |
Proxy |
|
Ensure a class only has one instance and provide a global point of access to it |
Singleton |
|
Allow an object to outer its behavior when its internal state changes. The object will appear to change its class. |
State |
|
Define a family of algorithms and encapuslate each one and make them interchangable. |
Strategy |
|
Define the skeleton of an algorithm in an operation deffering some steps to subclasses |
Template Method |
|
Represent an operation to be performed on elements of an object structure |
Visitor |