Factory Method パターン
Sign in to savecreational pattern that uses factory methods to deal with the problem of creating objects without having to specify the exact class of the object that will be created
Wikidata facts
Show 2 more facts
- Stack Exchange tag
- stackoverflow.com/tags/factory-method
- Commons gallery
- Factory method
Sources (1)
via Wikidata · CC0
Article · 日本語
Factory Method パターン(ファクトリメソッド・パターン)とは、GoF (Gang of Four; 四人組)によって定義されたデザインパターンの1つである。 Factory Method パターンは、他のクラスのコンストラクタをサブクラスで上書き可能な自分のメソッドに置き換えることで、アプリケーションに特化したオブジェクトの生成をサブクラスに追い出し、クラスの再利用性を高めることを目的とする。 Virtual Constructor パターンとも呼ばれる。
Abstract from DBpedia / Wikipedia · CC BY-SA
Connections
inheritance
Entity
International Standard Book Number
Entity
PHP
Entity
Python
Entity
Java
Entity
Q2407
Entity
Wayback Machine
Entity
Q2370
Entity
digital object identifier
Entity
object-oriented programming
Entity
application programming interface
Entity
HTML5
Entity
Q7637
Entity
Unified Modeling Language
Entity
class
Entity
Q201904
Entity
software design pattern
Entity
Document Object Model
Entity
model–view–controller
Entity
semaphore
Entity