Skip to content

nikboyd/pattern-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pattern-examples

Contains code examples that demonstrate application of some design patterns.

Pattern Intent
Resource Manager Factor out resource life-cycle management into a separate class, focus client code on resource usage.
Promised Operations Separate and control access to operations promised between close collaborators without exposing those operations to the general public.
Selective Visitor Represent an operation to be performed on the elements of an object structure, allowing the addition of new operations without changing the classes of the elements operated upon, and allowing the easy addition of new element classes to the framework.

Platform Requirements

You'll need (at least) Java SE JDK 8, due to its support for lambdas, which get used in these examples. You'll also need Maven, at least version 3.5.0 is recommended.

Building from Sources

Clone this repository, and run the following shell command in the base project folder:

mvn -U -B clean install

This will build the examples and run their tests.

About

Examples of some software design patterns

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages