CPSC 421 OOP Adapter Design Pattern
Across
- 7. The participant _____ defines an existing interface that needs adapting
- 8. The participant _____ adapts the Adaptee interface to the Target interface
- 9. One implementation question is, "How much _____ does Adapter do?"
- 10. The Adapter pattern lets classes work together with _____ interfaces
- 15. The participant _____ defines the domain-specific interface that the Client uses
- 17. A related pattern is _____, which is a representative or surrogate for another object and does not change its interface
- 18. The Object Adapter replaces the inheritance relationship of the Adapter from the Adaptee by _____
- 20. The Adapter pattern is often the first step towards replacement/major changes to a class with the "_____" interface
- 23. The _____ converts the interface of a class into another interface clients expect
- 25. _____ Adapter is for when you need to use several existing subclasses, but it's impractical to adapt their interface by subclassing every one
- 27. The Adapter pattern is AKA as the _____
- 28. In the Motivation, the class _____ has the role of Client
- 30. Applicable when you want to create a _____ class that cooperates with unrelated or unforeseen classes
- 32. Avoid _____ adapters in C++ unless necessary
Down
- 1. The Adapter pattern is a _____ Pattern
- 2. The Adapter pattern may add _____ missing in the target class
- 3. One variation is a _____ adapter
- 4. The participant _____ collaborates with objects conforming to the Target interface
- 5. The Adapter calls Adaptee operations that carry out the _____
- 6. A related pattern is _____, which adds functionality to an existing object without changing the interface and supports recursive composition
- 11. The Adapter pattern allows a current class to be used by a client expecting a different _____
- 12. One of the Adapter class structures is for an _____ Adapter
- 13. The Adapter pattern _____ requests to the Client into requests for the target class
- 14. Clients call _____ on an Adapter instance
- 16. Another variation is a _____-_____ adapter
- 19. In the Motivation, the class _____ has the role of Adaptee
- 21. In the Motivation, the class _____ has the role of Target
- 22. One of the Adapter class structures is for a _____ Adapter
- 24. In the Motivation, the class _____ has the role of Adapter
- 26. Applicable when you want to use an _____ class and its interface does not match the one you need
- 29. A related pattern is _____ which has a similar structure but different intent and separates interface from implementation
- 31. One consequence of the Object Adapter is that it does not directly allow subclassing Adaptee _____