Tag Archives: gof

Strategy Pattern using Lambdaj Switcher

As an extension to one of my earlier posts on strategy pattern, here i am providing a sample implementation using Lambdaj Switcher. StrategyPatternSwitcherExample.java Refer to my earlier post for source code of other required classes such as GenerateGreetingStrategy.java, GenerateGreetingForMen.java and … Continue reading

Posted in java | Tagged , , , , , , | Leave a comment