Skip to content

Revisit design patterns with Java 8 lambda expressions

Notifications You must be signed in to change notification settings

rafaprax/java8-patterns

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Design Patterns with Java 8

The purpose of these examples is to show how some of the traditional Design Patterns can be applied using Lambdas expressions. Each example is accompanied by a short description of the examined pattern and a brief discussion demonstrating the differences between the implementation with and without the Lambda expressions.

Currently, the examined patterns are the following:

Creational Design Patterns
Behavioral Design Patterns
Structural Design Patterns

The project is built and follows the standard structure of a Maven project, so the domain model and the tests of the demonstrated examples can be found at main/java and test/java respectively.

You can compile and run the tests by typing the following command at the root project directory,

mnv compile test

Written by John Psoroulas, 2016.

About

Revisit design patterns with Java 8 lambda expressions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%