SINGLETON Tiếng anh là gì - trong Tiếng anh Dịch

Ví dụ về việc sử dụng Singleton trong Tiếng việt và bản dịch của chúng sang Tiếng anh

{-}
  • Colloquial category close
  • Ecclesiastic category close
  • Computer category close
Có thể không cần những singleton class này.
Maybe not all singletons.
Singleton Military Area có gì thú vị?
What's Singleton Military Area like?
Có thể bạn đã nghe quen về Singleton.
Everyone might have heard of singles.
Tất cả triển khai singleton chia sẻ hai bước phổ biến.
All implementations of the Singleton have these two steps in common.
Điều này là không chắc với mẫu Singleton.
I am not sure about singletons though.
Combinations with other parts of speech
Sử dụng với danh từ
Singleton object chỉ được khởi tạo khi nó được requested lần đầu.
A singleton object is only initialized when the object is used the first time.
Nó thường được dùng để tạo ra singleton.
Normally this is used to implement singletons.
Singleton of Dufftown được xây dựng dưới triều đại của Nữ hoàng Victoria.
The Singleton of Dufftown was built during the reign of Queen Victoria.
Sơ đồ nhìngần như tương tự khi chúng ta sử dụng singleton.
The object graphlooks pretty similar to the case in which we used a singleton.
Singleton object chỉ được khởi tạo khi nó được requested lần đầu.
The singleton object is initialized only when it's requested for the first time.
Không ai ngoại trừ Singleton, có thể thay thế bản sao được lưu trong bộ nhớ cache.
Nothing, except for the Singleton class itself, can replace the cached instance.
Một constructor được tạoprivate trong trường hợp chúng ta thực hiện singleton design pattern.
We will declare constructor as private to implement a singleton design pattern.
Điều gì làm cho bạn nói rằng một singleton hoặc một phương pháp tĩnh không an toàn thread?
What makes you say that either a singleton or a static method isn't thread-safe?
Singleton là một instance đơn của một class luôn hiện diện mọi lúc trong bộ nhớ.
A singleton is a single instance of a class that is present at all times in memory.
Thường xuyên hơn không, phần cứng là một singleton bởi trùng hợp ngẫu nhiên chứ không phải theo nguyên tắc.
More often than not, hardware is a singleton by coincidence rather than by principle.
Singleton là một thể hiện duy nhất của một lớp có mặt ở mọi thời điểm trong bộ nhớ.
A singleton is a single instance of a class that is present at all times in memory.
Javascript object literals là một singleton, và chúng giúp bạn tạo object một cách thuận tiện và linh hoạt.
JavaScript object literals are singletons, and they allow you to create objects conveniently and flexibly.
Tôi đã cố gắng tốt nhất của tôi để giải thích các mẫu thiết kế Singleton, thảo luận rộng rãi trên internet.
I have tried my best to explain the Singleton design pattern, which is widely discussed on the internet.
Kết quả là, singleton không được tạo tới khi phương thức getInstance() được gọi lần đầu tiên.
As a result, the singleton instance is not created until the getInstance() method is called for the first time.
Nó giúp cho application dễ test hơn, bởi vì singleton hay JNDI lookup không thể sử dụng trong Unit test.
It makes easy to test applications, since no singletons or JNDI lookup mechanisms are required in unit tests.
Trong thực tế Singleton mô hình chỉ là một kỹ thuật lập trình là một phần hữu ích trong bộ công cụ của các khái niệm.
In practice the Singleton pattern is just a programming technique that is a useful part of your toolkit of concepts.
Tôi phải nói rằngbằng cách sử dụng một thiết kế singleton đã đốt cháy tôi gần đây như tôi đã cố gắng để thích ứng với mã.
I have to say that using a singleton design has burned me recently as I have tried to adapt the code.
Trong toán học, 1 singleton còn được gọi là một tập đơn vị, là một tập hợp có đúng một phần tử.
In mathematics, a singleton, also known as a unit set, is a set with exactly one element.
Rất nhiều lập trình viên đã than phiền về việc lạm dụng singleton trong nhiều năm và chúng ta đều biết global state là một implement rất tệ.
People have been complaining about the abuse of singletons for years and we all know global state is bad.
Bài học ở đây là singleton chỉ nên được dùng cho các trạng thái global và không gắn với bất kỳ scope nào.
The lesson here is that singletons should be preserved only for state that is global, and not tied to any scope.
Nó giúp cho application dễ test hơn, bởi vì singleton hay JNDI lookup không thể sử dụng trong Unit test.
It makes your application easy to test as it doesn't require any singletons or JNDI lookup mechanisms in your unit test cases.
Singleton đi ngược lại với tiêu chí đó, chúng ta có thể làm cho một trạng thái được truy cập từ mọi nơi trong chương trình.
Singletons stand in direct opposition to that, since they make mutable state accessible from anywhere in the program.
Như vậy mới đúng là singleton, instance được khởi tạo ở lần đầu tiên gọi hàm getInstance().
In this case case the singleton instance is created when the getInstance() method is called for the first time.
Nếu Singleton thực thi giao diện Serializable, thì chúng phải thực thi phương thức readResolve() để tránh tạo ra 2 đối tượng khác nhau.
Serialization- When Singletons are implementing Serializable interface they have to implement readResolve method in order to avoid having 2 different objects.
Khách hàng của chúng tôi nói rằng hương vị của The Singleton hấp dẫn họ một cách mạnh mẽ, cùng với phong cách& vẻ ngoài cực kỳ lịch lãm nổi bật.
Our consumers tell us that it's the taste of The Singleton that appeals strongly to them, plus the strikingly elegant style and presentation.
Kết quả: 304, Thời gian: 0.0174

Truy vấn từ điển hàng đầu

Tiếng việt - Tiếng anh