|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Strategy defines a family of algorithms, encapsulates each one, and make them interchangeable. Strategy lets the algorithm vary independently from clients that use it.
For more detailed documentation, refer to the
Strategy Design Pattern
.
See also: Strategy pattern in
Design Patterns: Elements of Reusable Object-Oriented Software
.
StrategyContext
Method Summary | |
StrategyContext |
getContext()
Returns the context object for this strategy implementation. |
Method Detail |
public StrategyContext getContext()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |