Improve Strategy Javadoc
This commit is contained in:
parent
2234a25c76
commit
0a9879a277
@ -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.
|
||||
*
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user