We konden deze vermelding niet vinden. Er worden benaderende resultaten weergegeven. Controleer je spelling of stel voor deze term aan het woordenboek toe te voegen.
As mentioned in the above definition, when we want to make sure that one and only one object needs to be created for any class, then we should implement the Singleton pattern for that class.
Comme mentionné dans la définition ci-dessus, lorsque l'on veut être sûr qu'un et un seul objet doit être créé pour une classe, alors on doit implémenter le patron Singleton pour cette classe.
The Singleton pattern applies to situations in which there needs to be a single instance of a class.
Le masque singleton est utilisé dans les situations où l'on a besoin qu'il y ait une unique instance d'une certaine classe.
The singleton pattern is a design pattern that restricts the instantiation of a class to one object.
Le singleton est un patron de conception dont l'objet est de restreindre l'instanciation d'une classe à un seul objet.
If you compare the output of both sections then you will see, in the output of the Singleton pattern, the resource ID for the object is the same for all different objects.
Si on compare la sortie des deux sections de code précédentes on voit, dans la sortie du patron Singleton, que la resource ID de l'objet est la même pour tous les objets.
The singleton pattern is very quick to implement, especially in Swift, and it works well.
Le modèle singleton est très rapide à mettre en œuvre, en particulier dans Swift, et ça marche bien.
Potentieel gevoelige of ongepaste informatie
Er worden alleen voorbeelden gegeven om u te helpen het woord of de woordcombinatie waarop u hebt gezocht, te vertalen. Deze worden niet door ons geselecteerd of gevalideerd en kunnen ongepaste taal bevatten. Wij vragen u melding te maken van voorbeelden die dienen te worden aangepast of verwijderd. Vertalingen met grof of informeel taalgebruik worden meestal rood of oranje gemarkeerd.
Er zijn geen resultaten gevonden voor deze term.
Synoniemen voor the singleton pattern in het Engels