diff --git a/README.md b/README.md index 7ab175b..ff4d714 100644 --- a/README.md +++ b/README.md @@ -417,6 +417,9 @@ defering some steps to subclasses. It lets one redefine certain steps of an algo Template pattern works using 'the Hollywood principle' from the base class point of view: 'Don't call us, we'll call you' Class diagram: +legend: +# is for protected method +Italic is for abstract method ![alt text](https://github.com/MihaiTheCoder/BehavioralPatterns/blob/master/BehavioralPatternsDiagrams/TemplateMethodPattern/TemplateMethodPatternClassDiagram.PNG "Template method pattern class diagram")