Skip to content

nielsutrecht/example-command-java8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Command Design Pattern in Java 8 example

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.

About

Example of using Java 8 features to implement the command pattern.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages