commit
95b651f177
@ -25,7 +25,7 @@ package com.iluwatar.decorator;
|
|||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* The Decorator pattern is a more flexible alternative to subclassing. The Decorator class
|
* The Decorator pattern is a more flexible alternative to subclassing. The Decorator class
|
||||||
* implements the same interface as the target and uses composition to "decorate" calls to the
|
* implements the same interface as the target and uses aggregation to "decorate" calls to the
|
||||||
* target. Using the Decorator pattern it is possible to change the behavior of the class during
|
* target. Using the Decorator pattern it is possible to change the behavior of the class during
|
||||||
* runtime.
|
* runtime.
|
||||||
* <p>
|
* <p>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user