Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Abstract factory パターンと singleton パターンを組み合わせることは可能ですか?もしそうなら、どのように?図でいくつかの例を教えてください。
抽象ファクトリ パターンは、オブジェクトの作成に関するものです。シングルトン パターンとは、特定の型のオブジェクトを複数作成しないことです。どのように、そしてなぜそれらが一緒に働くことを想定していますか?