Skip to content

Commit cdd586e

Browse files
committed
Improve Bridge Javadoc
1 parent 8c6caa2 commit cdd586e

File tree

1 file changed

+3
-0
lines changed
  • bridge/src/main/java/com/iluwatar/bridge

1 file changed

+3
-0
lines changed

bridge/src/main/java/com/iluwatar/bridge/App.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
/**
44
*
5+
* The Bridge pattern can also be thought of as two layers of abstraction. With Bridge,
6+
* you can decouple an abstraction from its implementation so that the two can vary independently.
7+
* <p>
58
* In Bridge pattern both abstraction ({@link MagicWeapon}) and implementation
69
* ({@link MagicWeaponImpl}) have their own class hierarchies. The interface of the
710
* implementations can be changed without affecting the clients.

0 commit comments

Comments
 (0)