Quite recently I had to implement a command pattern in a project I was working on. I noticed how much cleaner it was when using lambda's and a static interface method compared to using the 'old' pre-8 way of providing either concrete or anonymous interface implementations for all the commands. This repo contains the example code for my blogpost on the subject.
-
Notifications
You must be signed in to change notification settings - Fork 0
Example of using Java 8 features to implement the command pattern.
License
nielsutrecht/example-command-java8
About
Example of using Java 8 features to implement the command pattern.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published