Template method
本文最后更新于:2022年8月24日 中午
Define the skeleton of an algorithm in an operation, deferring some steps to subclasses. Template Method lets subclasses redefine certain steps of an algorithm without changing the algorithm’s structure.
References
Template method
https://baymax55.github.io/2022/09/13/设计模式/TemplateMethod/