123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- @startuml
- /' STRATEGY '/
- class Context
- interface Strategy {
- + execute()
- }
- class ConcreteStrategyA {
- + execute()
- }
- class ConcreteStrategyB {
- + execute()
- }
- hide empty members
- Context o-- Strategy
- Strategy <|-- ConcreteStrategyA
- Strategy <|-- ConcreteStrategyB
- note as N1
- <b><color:royalBlue>Strategy</color></b>
- <b>Type:</b> Behavioral
- Définit un algorithme, le rend
- interchangeable et indépendant du client.
- end note
- @enduml@startuml
- /' STRATEGY '/
- class Context
- interface Strategy {
- + execute()
- }
- class ConcreteStrategyA {
- + execute()
- }
- class ConcreteStrategyB {
- + execute()
- }
- hide empty members
- Context o-- Strategy
- Strategy <|-- ConcreteStrategyA
- Strategy <|-- ConcreteStrategyB
- note as N1
- <b><color:royalBlue>Strategy</color></b>
- <b>Type:</b> Behavioral
- Définit un algorithme, le rend
- interchangeable et indépendant du client.
- end note
- @enduml
|