implements Twin design pattern #63, add credit and rephrase the comments

This commit is contained in:
hoswey
2015-11-16 10:01:03 +08:00
parent fdbfa9e8ee
commit 142274f3f7
2 changed files with 10 additions and 13 deletions

View File

@ -17,4 +17,8 @@ inheritance in java
**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.
* 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)