template 自定义执行顺序固定的几个方法

Function:
      Lets subclasses redefine certain steps of an algorithm without changing the algorithm's structure
Actor:
      
原文地址:https://www.cnblogs.com/kevinge/p/1548186.html