网站首页  词典首页

请输入您要查询的英文单词或汉字:

 

词汇 singletons
释义 singletons ˈsiŋɡltənz COCA⁹⁷⁹⁶⁴BNC⁹¹⁵¹⁷⁺Economist³⁴³¹⁸⁺³
基本例句
n.一个;独身;单独singleton的名词复数原型singleton的复数 Dating pressure is also driving a major boom in online dating, as millions of China's singletons log on to find love, particularly for men.
这种社会压力也让网络相亲迅速发展,因为无数单身人士,尤其是男士,登陆相亲网站以寻找真爱。 yeeyan

In an effort to avoid costly synchronization in singletons, programmers, quite ingeniously, invented the double- checked locking idiom.
为避免单例中代价高昂的同步,程序员非常聪明地发明了双重检查锁定习语。 ibm

It is often the case, though, under time pressure, that simple Singletons make it easy to bridge large gaps between components.
尽管在时间压力下,通常情况是用简单的单件来连接各种各样的组件比较容易。 infoq

The rate of congenital anomalies was1.6 times higher for twins than for singletons.
数据显示双胞胎有先天性畸形的概率是单胎生婴儿的1.6倍。 ecocn

They all output the same value illustrating that this is a thread- safe generic way to create singletons.
所有线程都返回相同的值,这说明这是一个线程安全的使用泛型来实现的单态模式。 cnblogs

Additionally you need utility classes, singletons, tag libraries and services that provide underlying access to a wide variety of services and systems.
另外,您还需要实用程序类、单子程序 singleton、标记库和一些服务它们提供对各种服务与系统的底层访问。 ibm

Although the use of singletons supported the reuse goals of the project, this pattern caused all code to be dependent on particular instances of cross- cutting concern classes.
虽然独立模式可对项目的重用目标提供支持,但该模式会导致所有代码对横切关注点类的特殊实例产生依赖性。 ibm

Being married means you are at half the risk of getting dementia compared with singletons, Swedish researchers reported this month.
结婚意味着你得老年痴呆症的风险比单身的人要低一半,瑞典研究人员在本月的报告中称。 yeeyan

By default, services can be singletons or are created on a per- request basis.
在默认情况下,服务可以是单实例的,也可以为每个请求创建服务实例。 ibm

Further, this option allows for non- singletons to be created, allowing a per- instance injection for services that need it.
再者,你还能创建非单例组件,在服务需要它时即可注入一个实例。 infoq

He realized that the singletons were almost always repeated under the latex coating.
他发现这些单次出现的数字几乎总是橡胶涂层下的数字。 yeeyan

However, in certain situations, two or more singletons can mysteriously materialize, disrupting the very guarantees that the singleton is meant to provide.
然而,在某些情况下,可能会诡异地出现两个或者多个单例对象,这会严重破坏单例模式提供的对象唯一性保证。 yeeyan

Implementations can be single- threaded or multi-threaded, they can be highly scalable pools of objects, or they can be singletons.
实现既可以是单线程的,也可以是多线程的;既可以是具有高度可伸缩 性的对象池,也可以是单元素。 ibm

Moreover, singletons can be stateful; in this case, their role is to serve as a unique repository of state.
更有甚者,单例对象能够被状态化;这样,它们可以作为一个状态仓库向外提供服务。 yeeyan

Multiple singletons created by a factory specially asked to create multiple objects.
工厂可以创建多个单例对象,尤其是那些被要求创建多个实例的工厂。 yeeyan

Neither lock is needed for thread- static singletons.
线程静态单例不需要这两种锁定。 cnblogs

Older singletons are using the sites as a way to find love.
孤寡老人使用此类网站寻找真爱。 cri

That made it possible to identify which babies born as “ singletons” had actually started their lives as twins.
这就使得人们有可能鉴别哪些“独生子”原本是有个孪生同胞的。 ecocn

Those men may simply be saying society generally accords higher status to married people than singletons.
那些人可能会简单的把这归因于社会普遍给予已婚的人与单身相比更高的社会地位。 yeeyan

Two singletons will be created if the constructor runs and simultaneously another thread calls the method.
当该构造方法运行的同时,恰好被另一线程访问,两个单例对象将被创建。 yeeyan

When you have exhausted the list of Singletons to eliminate, you can revisit the code fragments that use the service locator.
当你把单件消灭完毕之后,应该重新检查一遍所有调用服务定位器的代码片段。 infoq

Singletons are classes that are designed to have only one instance existing at a time in an application.
单一实例指的是旨在让应用程序中一次只存在一个实例的类。 ibm

Singletons, whether unmarried or divorced, are able to sign up for the roughest, toughest unaccompanied positions.
单身者,无论未婚或离异,都能够签约获得那些最难熬、最艰苦的无伴从职位。 ecocn

Singletons and static state have been accused of being problematic for many years.
单件和静态状态已经因问题重重而被指责了多年。 infoq

Singletons are a useful way to control access to a class, making sure that only one instance can exist.
单例模式是一种有用的控制类访问的途径,他能保证只有一个类实例存在。 yeeyan
随便看

 

英汉汉英双解词典包含9999994条英汉翻译词条,涵盖了常用英语单词及词组短语的翻译及用法,是英语学习的必备工具。

 

Copyright © 2000-2024 tbdmj.com All Rights Reserved 更新时间:2024/12/26 12:47:06