Download for Windows Premium
Publiciteit
clase singleton

Vertaling van "clase singleton" in Engels

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.
singleton class
Resulta que un objeto representa una clase singleton.
It turns out that object actually represents a singleton class.
Para diseñar una clase singleton, hemos de tener en cuenta lo siguiente
To design a singleton class, we may take into account
El patrón de código habitual para generar una clase singleton sería algo parecido a esto
The most used code pattern to create a singleton class is something like this
Bien... vamos a ver como podemos aplicar esto a la clase singleton que hemos visto antes...
Ok... let's see how we can apply this to our singleton class from our first example: Joining efforts
De esta manera, al llamar desde otra clase al método getInstance de la clase ClaseSingleton, se obtiene la misma instancia cada vez, de esta manera las variables y métodos que pueda tener una clase singleton podemos reutilizarlas desde otras clases.
This way, when calling from another class to the method getInstance of the class ClaseSingleton, you get the same instance every time, this way variables and methods that have a singleton class can be reused from other classes.
Corrección: Prevenir doble instancia en clase singleton
Fixed: Prevent double instance in singleton class
La clase GameService, en el Listado 10, es una clase singleton que representa el servidor del juego y el estado actual del juego dado.
The GameService class, in Listing 10, is a singleton class that represents the game server and the current state of the given game.
En este ejemplo se creará una clase Singleton para definir las configuraciones de una aplicación.
In the following example, we create a Singleton class to define the set up parameters of an application.
Dado que la clase Singleton encapsula su única instancia, ella tiene estricto control de acceso sobre como y cuando acceden los clientes a dicha instancia.
Because the Singleton class encapsulates its sole instance, it can have strict control over how and when clients access it.
Er zijn geen resultaten gevonden voor deze term.

Synoniemen voor clase singleton in het Spaans

Publiciteit

Suggesties

Resultaten: 9. Exact: 9. Verstreken tijd: 31 ms.