FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

java-design-patterns/twin at ProxyExample · Hanney-Ryu/java-design-patterns · GitHub

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

layout pattern
title Twin
folder twin
permalink /patterns/twin/
pumlid 7SR13OCm30NGLUW0n7UsCS42eyH4zdUpFbNVwNtKQij3qjjo0ICs8kTPJiMLUuPuVGnYAFNff2qdWvrk_l9wIEXfws10t88wno-4gKQ2-az9xsLaRoy0
categories Creational
tags
Java
Difficulty-Intermediate

Intent

Twin pattern is a design pattern which provides a standard solution to simulate multiple 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.

Credits


Back | FazBrowse Home | New Git URL