Java.DesignPatterns.Bridge

the idea in separation of hierarchies of classes and composing them in one class container

from gof, there is a concept of abstraction and implementation, abstraction like a container for implementations that composed to the abstraction, in below example abstraction is remote control, and device is implementations

my bridge example

allows inherit different chains separately

This entry was posted in Без рубрики. Bookmark the permalink.