Bridge パターン
出典: フリー百科事典『ウィキペディア(Wikipedia)』
Bridge パターン(ブリッジ・パターン)とは、GoF(Gang of Four; 4人のギャングたち)によって定義されたデザインパターンの1つである。 「橋渡し」のクラスを用意することによって、クラスを複数の方向に拡張させることを目的とする。
[編集] クラス図
Bridge パターンのクラス図を以下に挙げる。
[編集] 利用例
[編集] 関連項目
生成に関するパターン | |
---|---|
Abstract Factory | Builder | Factory Method | Prototype | Singleton | |
構造に関するパターン | |
Adapter | Bridge | Composite | Decorator | Facade | Flyweight | Proxy | |
振る舞いに関するパターン | |
Chain of Responsibility | Command | Interpreter | Iterator | Mediator | Memento | Observer | State | Strategy | Template Method | Visitor |