What is the translation of " A SINGLETON " in Vietnamese?

[ə 'siŋgltən]

Examples of using A singleton in English and their translations into Vietnamese

{-}
  • Colloquial category close
  • Ecclesiastic category close
  • Computer category close
We can implement a Singleton as follows.
Chúng ta có thể implement một Singleton như sau.
The term came from the mathematical concept of a singleton.
Thuật ngữ này xuấtphát từ khái niệm toán học của một singleton.
A singleton object is only initialized when the object is used the first time.
Singleton object chỉ được khởi tạo khi nó được requested lần đầu.
The object graphlooks pretty similar to the case in which we used a singleton.
Sơ đồ nhìngần như tương tự khi chúng ta sử dụng singleton.
Kotlin has a feature to define a singleton in a very clever way.
Kotlin có một cách để xác định singleton một cách rất thông minh.
In this example, the database connection class acts as a Singleton.
Trong ví dụ này, lớp kết nối cơ sở dữ liệu hoạt động như một Singleton.
What makes you say that either a singleton or a static method isn't thread-safe?
Đ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?
Look at the code below- it will show you how to construct a singleton.
Xem mã dưới đây;nó sẽ cho bạn thấy làm thế nào để xây dựng một singleton.
A singleton is a single instance of a class that is present at all times in memory.
Singleton là một instance đơn của một class luôn hiện diện mọi lúc trong bộ nhớ.
Of course this is an example of a bad usage of a singleton.
Tất nhiên đây là một ví dụ về một cách sử dụng xấu của một singleton.
A singleton is a single instance of a class that is present at all times in memory.
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ớ.
We will declare constructor as private to implement a singleton design pattern.
Một constructor được tạoprivate trong trường hợp chúng ta thực hiện singleton design pattern.
In mathematics, a singleton, also known as a unit set, is a set with exactly one element.
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ử.
I can't personally think of a single situation where a singleton is the right solution.
Tôi không thể nghĩ về một tình huống đơn lẻ mà một singleton là giải pháp đúng đắn.
I have to say that using a singleton design has burned me recently as I have tried to adapt the code.
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ã.
Because the service provided by the factory object is so pervasive,it is routinely implemented as a Singleton.
Do các dịch vụ cung cấp bởi các đối tượng gốc như vậy là phổ biến,nó thường được thực hiện như một Singleton.
More often than not, hardware is a singleton by coincidence rather than by principle.
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.
There's no reason that a single serial port on adevelopment board should be modeled as a Singleton.
Không có lý do gì mà một cổng nối tiếp đơn lẻ trên một bo mạch phát triển nênđược mô hình hóa như một Singleton.
So your argument is effectively"there's no harm in making a singleton if we don't treat it as a singleton.
Vì vậy, lập luận của bạn là có hiệu quả" không có hại trong việc tạo ra một singleton nếu chúng ta không đãi nó như một singleton.
A singleton provides a simple way of implementing a registry, but that implementation decision is easily changed.
Một singleton cung cấp một cách đơn giản để thực hiện một đăng ký, nhưng mà quyết định thực hiện có thể dễ dàng thay đổi.
In women who are having a multiple pregnancy,it is common for their hCG levels to be 30-50% higher than those with a singleton pregnancy.
Ở những phụ nữ mang đa thai, nồngđộ hCG phổ biến của họ sẽ cao hơn so với những người mang thai đơn 30- 50%.
First, a singleton can extend classes and implement interfaces, while a static class cannot(it can extend classes, but it does not inherit their instance members).
Đầu tiên, một singleton có thể mở rộng các lớp và thực hiện các giao diện, trong khi một lớp tĩnh không thể( nó có thể mở rộng các lớp, nhưng nó không kế thừa các thành viên cá thể của chúng).
The pattern requires special treatment in a multithreaded environment so thatmultiple threads won't create a singleton object several times.
Pattern yêu cầu treatment đặc biệt trong môi trường multithreaded vì thếmultiple threads tạo ra singleton object nhiều lần.
A singleton can be initialized lazily or asynchronously while a static class is generally initialized when it is first loaded, leading to potential class loader issues.
Một singleton có thể được khởi tạomột cách lười biếng hoặc không đồng bộ trong khi một lớp tĩnh thường được khởi tạo khi nó được nạp lần đầu tiên, dẫn đến các vấn đề về trình nạp lớp tiềm năng.
There is a dedicated page in Angular's documentation explaining how to makesure that a service is always provided as a singleton.
Có một trang dành riêng trong Angular' s document, giải thích cách đảm bảo rằngservice luôn cung cấp dưới dạng singleton.
Nowadays, the Singleton pattern has becomeso popular that people may call something a singleton even if it solves just one of the listed problems.
Nhưng ngày nay mô hình trở nên phổbiến đến nỗi mọi người gọi một cái gì đó là Singleton ngay cả khi nó giải quyết một trong những vấn đề này.
A singleton allows access to a single created instance- that instance(or rather, a reference to that instance) can be passed as a parameter to other methods, and treated as a normal object.
Singleton cho phép truy cập vào một đĩa đơn trường hợp đã tạo- ví dụ đó( hoặc thay vào đó, một tham chiếu đến trường hợp đó) có thể được chuyển như một tham số cho phương pháp và được coi là bình thường vật.
Heh, if you do this everywhere, then you would have to pass around a reference to the singelton everywhere also,and thus you don't have a singleton any more.
Heh, nếu bạn làm điều này ở khắp mọi nơi, sau đó bạn sẽ phải vượt qua một tham chiếu đến singelton ở khắp mọi nơi cũng có,và do đó bạn không có một singleton nữa.
The big difference between a singleton and a bunch of static methods is that singletons can implement interfaces(or derive from useful base classes, although that's less common, in my experience), so you can pass around the singleton as if it were"just another" implementation.
Sự khác biệt lớn giữa một singleton và một loạt các phương thức tĩnh là các singletons có thể thực hiện các giao diện( hoặc xuất phát từ các lớp cơ sở hữu ích, mặc dù IME ít phổ biến hơn), vì vậy bạn có thể truyền xung quanh singleton như thể nó chỉ là một thực thi khác.
The big difference between a singleton and a bunch of static methods is that singletons can implement interfaces(or derive from useful base classes, although that's less common, in my experience), so you can pass around the singleton as if it were“just another” implementation.
Sự khác biệt lớn giữa một singleton và một loạt các phương thức tĩnh là các singletons có thể thực hiện các giao diện( hoặc bắt nguồn từ các lớp cơ sở hữu ích, mặc dù nó ít phổ biến hơn, theo kinh nghiệm của tôi), vì vậy bạn có thể vượt qua singleton như thể nó là" thực hiện.
Results: 52, Time: 0.0354

Word-for-word translation

Top dictionary queries

English - Vietnamese