Improve Strategy Javadoc

This commit is contained in:
Ilkka Seppala 2015-10-04 00:22:27 +03:00
parent 2234a25c76
commit 0a9879a277

View File

@ -2,7 +2,10 @@ package com.iluwatar.strategy;
/**
*
* Strategy ({@link DragonSlayingStrategy}) encapsulates an algorithm. The containing
* The Strategy pattern (also known as the policy pattern) is a software design pattern that
* enables an algorithm's behavior to be selected at runtime.
* <p>
* In this example ({@link DragonSlayingStrategy}) encapsulates an algorithm. The containing
* object ({@link DragonSlayer}) can alter its behavior by changing its strategy.
*
*/