generated at
strategy pattern




strategy_pattern.pu
@startuml Strategy Method abstract class Strategy{ -- # {abstract} Entity func() } class Strategy1 extends Strategy{ -- # Entity1 func() } class Strategy2 extends Strategy{ -- # Entity2 func() } class Context{ - strategy : Strategy -- # Entity call() } Context o-r- Strategy : contain > @enduml