Share these flash cards

With group: None
HTML link to set: Tiny link:
Share on Facebook Share on MySpace

All 23 terms

TermDefinition
Abstract FactoryProvides an interface for creating families of related or dependent objects without specifying their concrete classes
AdapterConvert the interface of a class into another interface clients expect
BridgeDecouple an abstraction from an implementation so the two can vary independently
BuilderSeparate the construction of a complex object from its representation so that the same construction process can create different representations
Chain of ResponsibilityAvoid coupling the sender of a request to its receiver by giving more than one object a chance to handle the request
CommandEncapsulate a request as an object, thereby letting you parameterize clients with different requests, queue or log requests, and support undoable operations
CompositeCompose objects into tree structures to represent part-whole hierarchies
DecoratorAttach additional responsibilities to an object dynamically
FacadeProvide a unified interface to a set of interfaces in a subsystem
Factory MethodDefine an interface for creating an object, but let subclasses decide which class to instantiate
FlyweightUse sharing to support large numbers of fine-grained objects efficiently
InterpreterGiven a language, define a representation for its grammar along with an interpreter that uses the representation to interpret sentences in the language
IteratorProvide a way to access the elements of an aggregate object sequentially without exposing its underlying representation
MediatorDefine an object that encapsulates how a set of objects interact
MementoWithout violating encapsulation, capture and externalize an objects internal state so that the object can be resored to this state later
ObserverDefine a one-to-many dependency between objects so that when one object changes state, all its dependents are notified and updated automatically
PrototypeSpecify the kinds of objects to create using a prototypical instance, and create new objects by copying this prototype
ProxyProvide a surrogate or placeholder for another object to control access to it
SingletonEnsure a class only has one instance, and provide a global point of access to it
StateAllow an object to alter its behaviour when its internal state changes
StrategyDefine a family of algorithms, encapsulate each one, and make them interchangeable
Template MethodDefine the skeleton of an algorithm in an operation, deferring some steps to subclasses
VisitorRepresent an operation to be performed on the elements of an object structure

Set Information

Terms 23
Creator lrussell123
Created September 6, 2008
Groups None
Subjects programming, java, patterns
Access Anyone
Edit Creator Only
Get rid of ads on Quizlet

Description

Basic descriptions of the main GOF patterns

Pop out

Discuss

No Messages
Last Message: never

You must be logged in to discuss this set.

Top Users

  1. retorick - 220 scores
  2. JeremyGood - 81 scores
  3. lrussell123 - 23 scores

Most Missed Words

  1. Factory Method Define an interface for creating an object, but let subclasses decide which class to instantiate - 3 misses
  2. Visitor Represent an operation to be performed on the elements of an object structure - 3 misses
  3. Command Encapsulate a request as an object, thereby letting you parameterize clients with different requests, queue or log requests, and support undoable operations - 2 misses
  4. Builder Separate the construction of a complex object from its representation so that the same construction process can create different representations - 2 misses
  5. Abstract Factory Provides an interface for creating families of related or dependent objects without specifying their concrete classes - 2 misses
  6. Strategy Define a family of algorithms, encapsulate each one, and make them interchangeable - 2 misses
  7. Chain of Responsibility Avoid coupling the sender of a request to its receiver by giving more than one object a chance to handle the request - 2 misses