Weblio英和対訳辞書

英和辞典・和英辞典 - Weblio辞書

Factory method pattern

Weblio英和対訳辞書はプログラムで機械的に意味や英語表現を生成しているため、不適切な項目が含まれていることもあります。ご了承くださいませ。
調べた例文を記録して、効率よく覚えましょう
Weblio会員無料で登録できます
履歴機能 過去に調べた単語を確認できる
語彙力診断 診断回数が4回に増加
マイ単語帳 便利な学習機能付き
マイ例文帳 文章で意味を理解できる

Wiktionary英語版

出典:Wiktionary

factory method pattern

出典:『Wiktionary』 (2025/02/20 04:02 UTC )

同意語

ウィキペディア英語版

出典:Wikipedia

Factory method pattern

出典:『Wikipedia』 (2011/06/27 15:50 UTC 版)

英語による解説

ウィキペディア英語版からの引用
引用

The factory method pattern is an object-oriented design pattern to implement the concept of factories. Like other creational patterns, it deals with the problem of creating objects (products) without specifying the exact class of object that will be created. The creation of an object often requires complex processes not appropriate to include within a composing object. The object's creation may lead to a significant duplication of code, may require information not accessible to the composing object, may not provide a sufficient level of abstraction, or may otherwise not be part of the composing object's concerns. The factory method design pattern handles these problems by defining a separate method for creating the objects, which subclasses can then override to specify the derived type of product that will be created.

factory method patternのページの著作権