This commit is contained in:
parent
8037495e04
commit
7e4d0b4cdc
@ -28,7 +28,7 @@ import org.slf4j.LoggerFactory;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 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 aggregation to "decorate" calls to the
|
* implements the same interface as the target and uses composition 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.
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user