Some classes retain state information from one method invocation to the next, and it is difficult to make such classes thread-safe in any practical way.
有些类保留从一个方法调用到下一个方法调用的状态信息,要在实践中使这样的类成为线程安全的是困难的。
Because we only had to override one simple method, this was a concise way to achieve our goal.
因为我们只需要覆盖一个简单的方法,所以这是实现我们目标的简明方法。
The concept "security through obscurity" is well known—and well derided—because doing things in an obscure way, hoping that no one will get wise to your method, is just asking for problems.
“隐匿产生安全”这个概念尽人皆知而且受到大家的嘲笑,因为采用隐匿的方式,希望没人了解您的方法,这只是一厢情愿的想法。
One way would be to create an array of booleans, one for each line of the original method, and add code that sets the appropriate flag as each line is executed.
可以使用的一种方法是创建一个布尔值数组,初始方法中的每一行代码对应一个布尔值,然后添加代码,每执行一行代码就设置相应的标志。
One method may work for project a, but fail miserably for project B. Each project and organization needs to find its own way to Agility, if being Agile is appropriate.
一种方法在项目A上适用,但是到了项目b上可能会惨败。每一个项目和组织都要找到适合它们自己的那个敏捷,当然前提是您的项目和组织适合使用敏捷。
Constructing a wetlands or savanna by reassembling portions of a natural one is only one method of biome building — which the ecologists call the "analog" way.
获取自然环境中的某些部分,再将它们重新组装成湿地或者草原,只是建立生态区的办法之一,生态学家们把这种办法叫做“比对”法。
Mediations provide a convenient and powerful method for transforming messages from one format to another in a way that is transparent to the end-user application.
中介提供了一种方便而强大的方法,用以将消息从一种格式转换为另一种格式,而这个过程对最终用户的应用程序是透明的。
"Realistically, if the doctor says, 'I think this is the best way to knock you out and the safest method,' let's face it: You or I would say, 'Yeah, let's go for that one,'" Jaffe said.
“事实上,如果医生说,‘我想这是让你麻醉最好也是最安全的方法’我们看:我们会说,‘好,那就用这个吧,’”杰夫说
Now, for classes that store large amounts of data, this method may not be the most efficient way to swap data, because swap involves one copy construction and two assignments.
现在,对于存储大量数据的类,此方法可能不是交换数据的最有效方法,因为swap涉及到一个copyconstruction和两次赋值。
One of the really powerful and useful things about the AdminTask scripting object is that almost every method includes a way to "step through" the parameter definitions.
admintask脚本对象真正强大、有用的特点之一是,几乎所有方法都提供研究参数定义的方法。
One way to enable this is to put the method into a Super Helper, and then to inherit that Super Helper into all your test scripts.
支持这一点的一种方式是将该方法放入SuperHelper,然后让所有测试脚本继承Super Helper。
Prior to Tiger, the ThreadGroup class provided one way to handle uncaught exceptions: the uncaughtException() method of ThreadGroup.
在Tiger之前,ThreadGroup类提供了一种处理未捕获异常的方法: ThreadGroup的uncaughtException()方法。
Let's say that the complex_calculation method takes so long that you only want to run it when doing acceptance tests, not during unit test runs. One way to limit it appears in Listing 12.
如果complex_calculation方法运行时间较长,您只想在执行验收测试时运行它,而不想在单元测试期间运行它。
By the way, in the notes they are called also method one and method two.
顺便说一下,在笔记里,它们是方法1和方法。
One way to handle this is to provide a public static initialize method that throws a checked exception when initialization fails.
处理这个问题的一种方法是提供一个公共静态initialize方法,初始化失败时该方法将抛出一个检查到的异常。
Data Handlers provide a generic way of transforming data by using canonical formats. The transform method is used for reading data and one of the following types is passed to read the input.
数据处理程序提供了使用规范格式转换数据的通用方法。
The method of releasing tokens differs for request-response and one-way calls.
发行令牌的方法因请求-响应和单向调用而不同。
The clean-slate method is just one way to simplify your life and your stuff, but it's worked very well for me.
简化只是一种把你的生活和材料简洁的方法,但是他对我来说却是什么有用的。
That way, if one method is breached, another method remains operational and prevents further intrusion.
通过这种途径,如果一种方法失败,还有另一种方法在运作,防止进一步入侵。
The most common method is to split the categories into a four-way matrix with server and virtual machine problems on one axis and network and storage on the other axis.
最常见的方法是分类归入到四维矩阵中,矩阵的一个轴上是服务器和虚拟机,另外一个轴上是网络和存储。
I thought this is one very good exchange way, also is one fast knowledge acquisition method.
我觉得这是一种很好的交流方式,也是一种快速获取知识的方法。
The method is called DigestSearch because it USES the unique digest (one-way hash) value to represent a search word.
该方法称作DigestSearch是因为它使用惟一摘要(单向散列)值来表示一个搜索字。
The interface has a single one-way method called event_emission with a single parameter with a type of connector.
此接口只有一个单向方法,名为 event_emission,此方法只有一个参数,其类型为connector。
One way to approach this is to factor the extraction of the parameters and the invocation of the doPost method itself into a base class, such as in version 2 shown in Listing 8
一种解决方法是将参数提取和doPost方法本身的调用添加到一个基类,如清单 8中的版本2所示
Therefore, it's a good habit to use a waitForExistence method when you open a browser. One way to do this is to use a Wait for Selected TestObject verification point
因此,当您打开一个浏览器时使用waitForExistence 程序是很好的办法。
The prevalent method is to implement the safe floodgate, the safe and effective one-way data transmission method, but the safe cost is too high and the hardware costs too expensive.
流行的做法是实行安全闸,这种方法可以做到安全有效的单向数据传输,但是安全成本太高,硬件价格昂贵。
One Way ANOVA is their usual choice, but the method of group discussion must be selected properly, and then the criterion of reliability coefficient must be readjusted appropriately.
方差分析法是许多人采用的方法,但此方法用于估价可靠性时,需注意分组方式和对可靠性系数的评价标准。
The incentive mechanism of taxes and fees is one of the popular method which use the economic way to control the fishing effort and protect the fishery resource in the world wild.
税费激励是近年来国际上流行的用经济手段控制捕捞力量和保护渔业资源的盛行方法之一。
The positioning method, avoid approaching the one-way transmission system from the reverse clearance positioning error.
采用单向趋近定位方法,避免传动系统反向间隙而产生的定位误差。
This method is very effective and you should never fail to apply it as one way to market your business site.
这种方法非常有效,你千万不能申请成为市场的一种方式您的企业网站上。
应用推荐