Anurag Agarwal f0f0143d48 Resolves checkstyle errors for trampoline twin typeobjectpattern unit-of-work value-object (#1074)
* Reduces checkstyle errors in trampoline

* Reduces checkstyle errors in twin

* Reduces checkstyle errors in typeobjectpattern

* Reduces checkstyle errors in unit-of-work

* Reduces checkstyle errors in value-object
2019-11-10 19:47:32 +02:00
..
2017-11-28 20:55:52 +02:00
2015-11-14 17:38:35 +08:00
2019-10-12 20:05:54 +03:00
2017-11-28 21:28:53 +02:00

layout, title, folder, permalink, categories, tags
layout title folder permalink categories tags
pattern Twin twin /patterns/twin/ Creational
Java
Difficulty-Intermediate

Intent

Twin pattern is a design pattern which provides a standard solution to simulate multiple inheritance in java

alt text

Applicability

Use the Twin idiom when

  • to simulate multiple inheritance in a language that does not support this feature.
  • to avoid certain problems of multiple inheritance such as name clashes.

Credits