object adaptor

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Tony Johansson

    #1

    object adaptor

    Hello!!

    This is about the adaptor design pattern.
    If you use the class adaptor its easy to override.
    It says an object adaptor makes it harder to override Adaptee behavior.
    It will require subclassing Adaptee and making Adapter refer to the subclass
    rather then the Adaptee itself.

    What does this mean?
    Can you give some easy exaples if you have some?

    //Tony


Working...