Final Review Flashcards
What are the participants of the Bridge pattern?
Abstraction - defines the interface and maintains a reference to the implementor
RefinedAbstraction- extends the abstraction
Implementor - defines the interface for implementation classes which doesn’t have to correspond with Abstraction and only provides primitive operations
ConcreteImplementor - implements the implementor
What are the participants of the Mediator pattern?
Mediator - defines an interface for communicating with colleague objects
ConcreteMediator - implements cooperative behavior by coordinating colleague objects, knows and maintains list of colleagues
Colleagues - knows the mediator, communicates with the mediator instead of colleague
What are the participants of the Memento pattern?
Memento
Originator
Caretaker