rokon12 / java8-patterns

Revisit design patterns with Java 8 lambda expressions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:Java 100.0%