The factory method pattern is used when a class needs to instantiate a derivation of another class, but does not know which one.
Das Factory Method Entwurfsmuster dient der Entkopplung des Clients von der konkreten Instanziierung einer Klasse.
The essence of the Iterator Factory method Pattern is to "Provide a way to access the elements of an aggregate object sequentially without exposing its underlying representation.".
Der Hauptzweck des Iterators ist es, dem Benutzer zu erlauben, auf jedes Element in einer Menge zuzugreifen, während es ihn von der Datenstruktur der Menge isoliert.
Andere resultaten
You can build those rules into the Customer's constructor, use a Factory Pattern method or even have a Create method in the Customer type.
Sie können diese Regeln in den Customer-Konstruktor integrieren, eine Factory Pattern-Methode nutzen oder sogar eine Create-Methode im Customer-Typ verwenden.
These options are passed to the factory method as demonstrated in previous examples.
Diese Optionen werden der Factory Methode übergeben wie im nachfolgenden Beispiel demonstriert.
Handlooming allows for customization that factory methods simply cannot match.
Handweben ermöglicht eine Anpassung, die Fabrikmethoden einfach nicht erreichen können.
With this method patterns are abstracted and then designed to pattern languages.
Hier werden Erfahrungen kollaborativ zu Mustern abstrahiert und weiter zu Mustersprachen designed.
Normally this constructor is not needed as all filters can be created by using the apprpriate factory methods.
Normalerweise wird dieser Constructor nicht benötigt da alle Filter durch Verwendung der entsprechenden Factory Methoden erstellt werden können.
MazeGame declares the abstract factory method to produce such a base product.
Der Erzeuger deklariert die Fabrikmethode, um ein solches Produkt zu erzeugen und kann eine Default-Implementierung beinhalten.
It is recommended to define the desired flavor of the Anqu Method Pattern in 'preferences' once.
Hier sollte man einmalig die eigene Interpretation des Anqu Method Patterns konfigurieren.
Hill-RBF Method - Pattern recognition and boundary model for more accuracy and confidence
Hill-RBF Method Mustererkennung und Grenzmodell für mehr Genauigkeit und Vertrauen
The Anqu Method Pattern aims to minimize the disadvantages of JPA named queries while preserving their advantages.
Das Anqu Method Pattern hat zum Ziel, die Nachteile von Named Querys zu minimieren und ihre Vorteile zu erhalten.
Factory Provides access to factory methods for creating and configuring Task and Task<TResult>instances.
Factory Bietet Zugriff auf Factorymethoden zum Erstellen und Konfigurieren von Task<TResult>-Instanzen.