Improve Bridge Javadoc

This commit is contained in:
Ilkka Seppala 2015-10-03 12:40:24 +03:00
parent 8c6caa29b7
commit cdd586ec7c

View File

@ -2,6 +2,9 @@ package com.iluwatar.bridge;
/**
*
* The Bridge pattern can also be thought of as two layers of abstraction. With Bridge,
* you can decouple an abstraction from its implementation so that the two can vary independently.
* <p>
* In Bridge pattern both abstraction ({@link MagicWeapon}) and implementation
* ({@link MagicWeaponImpl}) have their own class hierarchies. The interface of the
* implementations can be changed without affecting the clients.