提交 0a9879a2 编写于 作者: I Ilkka Seppala

Improve Strategy Javadoc

上级 2234a25c
......@@ -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.
*
*/
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册