Package Structural.Decorator
package Structural.Decorator
-
ClassDescriptionThe Component interface defines operations that can be dynamically modified.A ConcreteComponent provides the base implementation of the Component interface.A ConcreteDecorator that adds behavior to the Component.Another ConcreteDecorator that adds behavior to the Component.The Decorator class wraps a Component and adds functionality dynamically.