all index.md files renamed to README.md for more compatibility with github

This commit is contained in:
slawiko committed 2016-03-20 11:50:21 +03:00
1 parent 528d179efe
commit bd1b65276e
71 files changed
+34 -34

No files matched your search

+26
View File
@@ -0,0 +1,26 @@
---
layout: pattern
title: Twin
folder: twin
permalink: /patterns/twin/
categories: Creational
tags:
- Java
- Difficulty-Intermediate
---
## Intent
Twin pattern is a design pattern which provides a standard solution to simulate multiple
inheritance in java
![alt text](./etc/twin.png "Twin")
## 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
* [Twin – A Design Pattern for Modeling Multiple Inheritance](http://www.ssw.uni-linz.ac.at/Research/Papers/Moe99/Paper.pdf)