Abstract
GoF Definition: Define a family of algorithms, encapsulate each one, and make them interchangeable. The strategy pattern lets the algorithm vary independently from client to client.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Electronic Supplementary Material
Below is the link to the electronic supplementary material.
Rights and permissions
Copyright information
© 2016 Vaskaran Sarcar
About this chapter
Cite this chapter
Sarcar, V. (2016). Strategy Patterns (Or, Policy Patterns). In: Java Design Patterns. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-1802-0_7
Download citation
DOI: https://doi.org/10.1007/978-1-4842-1802-0_7
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-1801-3
Online ISBN: 978-1-4842-1802-0
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)