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
Abstract Factory
|
Provide and interface for creating failies of related or dependent objects without specifying their conceret classes.
|
|
Builder
|
Separate the construction of a complex object form its repressentation so that the same construction process can create dfiferent representations.
|
|
Factory Method
|
Define an dinstnace for creating and object but let subclasses decide whcih class to instantiate Factory methods lets a class defer instantiation to subclasses
|
|
Prototype
|
Specify the kinds of objects to create using a prototypical instnace, and create new objects by copying this prototype.
|
|
Singleton
|
Ensurea class only has one instance, and provdie a global point of access to it
|
|
Adaptyer
|
Convert tthe interface of a class into another interface clients expect. Adapter lets classes work together tha couldn't otherwise because of incompatible interfaces.
|
|
Bridge
|
Decople an abstraction from its implementation so that hte two can vary independently
|
|
Composite
|
Comopse objects into tree sturctures to representat part-whole hierarchies. COmposite lets clients treat individual objects and compositions of obejcst uniformly
|
|
Decorator
|
Attach additional responsibilties to an object dynamimcally. Decorators proide a flexible alternative to subclassing for extending functionality.
|
|
Facade
|
Provide a unified interface to a set of interfaces in a subsystem.
Facade defines a higher level interface that maeks the subsystem easire to use. |
|
Flyweight
|
Using sharing to support large numbers of fine-grained objects efficiently
|
|
Proxy
|
Provide a surrogate palcehodler for another object to control access to it.
|
|
Chain of REsponsibility
|
Avoid couplint he sender of a request to its receiver by givien more than obne object a chance to hande the request. Chain the receiveing objects and pass the request along hte chain until a n object handles it.
|
|
Command
|
Encapsuate a request as an object, thereby letting you parametize clients with differnet requests, queu e or log requests, and support undoable operations.
|
|
Interpreter
|
Given a anaugage, define a represenation for its gramar along with an interpreter that uses the representation to interpret stentences in the langauge.
|
|
Iterator
|
Provide a way to access the elemetns fo an aggregate object sequentially without exposing its underlying represetnation.
|
|
Meidator
|
Define an object htat encapsulates how a set of objets interfact. Mediator promotes loose coupling by keeping objects from referring ot each other explicitly and it lets you vary their interaction independently.
|
|
Memento
|
Without violating encapsulation, capture and externalise and object's inernal state sothat the object can be restored to the state later.
|
|
OBserver
|
Defina one-to-many dependency between objecs to sthat when one object changes state, all its dependensts are notified and updated uatomatically.
|
|
State
|
ALlow an object ao lter its behaviour when its internal state changes. THe object will aprear to change its clas.
|
|
Strategy
|
Define a family of algorithms, encapsulate each one and make them interchangeable. Stragetylets the algorithm vary independtly from clients that sue it.
|
|
Template
|
Defin teh skeleton of an algorithm in an operation, deerring some steps to subclasses. Tempmlate method lets subclasses redefine certain steps of an algorithm without chagnign the algorithms strucutre.
|
|
VIsitor
|
Representa an operation to be performed on teh elements of an obejct structure. Visitor lets you defina new operation without changing hte lcasses of the elemetns on which it operates.
|