Archives de catégorie : design pattern

Design Pattern : decorator implementation in Java

The source code of design patterns can be viewed and downloaded here : https://github.com/ebundy/java-examples/tree/master/design-patterns What is it ? The decorator design pattern is a structural pattern.It allows to design a class to decorate another class in a dynamic way. Decorator is … Continuer la lecture

Publié dans design pattern, java | Marqué avec , , | Laisser un commentaire

Design pattern : adapter implementation in Java

The source code of design patterns can be viewed and downloaded here : https://github.com/ebundy/java-examples/tree/master/design-patterns What is it ? The design pattern adapter is a structural pattern.It allows to adapt the API of an existing class (the adapted class) to the API … Continuer la lecture

Publié dans design pattern, java | Laisser un commentaire