Template MethodThe book has now been published and the content of this chapter has likely changed substanstially.
A method that implements an algorithm with the steps provided by various subclasses.
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.
Copyright © 2003-2008 Gerard Meszaros all rights reserved