• Since it is thread safe by design, you might cache it in a public static final variable, or wrap it in a singleton pattern after creation for later access.

    因为根据设计它是线程安全的,创建它之后可以把它缓存在一个公共静态最终变量中,或者包装在单实例模式中以供以后访问。

    youdao

  • And because each global variable has session scope, every session has its own private value that it can manipulate and use and no other session can access that value.

    并且由于每个全局变量以会话为范围,所有会话都拥有自己的私有值进行操作和使用,而其他会话无法访问这些私有值。

    youdao

  • This mode is often used for global variable access, branching, and subroutine calls.

    这种模式通常用于全局变量访问、分支以及子程序调用。

    youdao

  • Stores the global variable in the data area for the test engine, which allows access from different tests and different schedule user groups.

    将这个全局变量保存到测试引擎的数据区域,这样允许不同的测试和不同调度的用户组进行访问。

    youdao

  • If the use of that variable spans multiple activities, you define the variable at the workflow level so that any element can access it.

    如果该变量的使用扩展到多个活动,您可以将变量定义为工作流级,这样任意元素都能访问它。

    youdao

  • The rationale for this is that the event handler must be able to access the variable that holds the incoming message.

    这样做的根本原因是,事件处理程序必须能够访问保存传入消息的变量。

    youdao

  • These engines perform optimizations to run code faster, and clearly, these optimizations make variable access much faster than others.

    这些引擎在执行代码时进行了优化,而且很明显,这些优化使访问变量的速度比以往更快。

    youdao

  • For method calls, I tried the same three access variations as for field access, with the added variable of using no-argument methods versus passing and returning a value on the method calls.

    在方法调用中,我试用了与字段接入相同的三种接入变量,并增加了使用无参数方法变量,而不是在方法调用中传递和返回一个值。

    youdao

  • To make this method a little easier, I wrap the access to the variable in a second function that takes a configuration key name and a default value, as shown below.

    为使这个方法更加简单,将对变量的访问封装在第二个函数中,该函数使用配置键名及一个缺省值作为参数,如下所示。

    youdao

  • Instead of checking for a default compound value, you can also catch the access to an undefined variable. E.g.

    不用再检查默认的复合值,您也可以捕获对未定义变量的访问。

    youdao

  • This will result in PHP reporting a warning every time an uninitialized variable is used, each bad file access, and other (mostly) harmless errors, but might also represent a potential attack vector.

    设置更改后,每当使用未初始化的变量、进行错误的文件访问及发生其他(大多数)无害错误时,PHP都会报告一条警告消息,但也存在这是一个潜在攻击矢量的可能性。

    youdao

  • On the other hand, if you choose to access row data through the value binding, then you must consult the JSF variable resolver.

    另一方面,如果选择通过值绑定访问行数据,则必须咨询J SF变量解析器。

    youdao

  • In this example, variable substitution is used for the ID in case your code needs to access the button through its ID.

    在本例中,为了防止代码通过其ID访问此按钮,用变量替换了此ID。

    youdao

  • You can use this variable to return users to the login page, a corporate portal page, or a customized exit page for Domino Web Access.

    可以使用这个变量使用户返回登录页面、公司门户网站页面或定制的DominoWebAccess退出页面。

    youdao

  • This variable allows access to name lookup views in the Domino Directory during the view index process.

    这个变量允许在视图索引过程中访问DominoDirectory中的名称查询视图。

    youdao

  • For example, you can access parameters passed to scripts on the command line using the sys.argv variable.

    例如,可以使用sys. argv变量在命令行中访问传递给脚本的参数。

    youdao

  • For example, Groovy doesn't require semicolons, and it makes variable types and access modifiers optional.

    例如,Groovy不要求使用分号,变量类型和访问修饰符也是可选的。

    youdao

  • You access them as you would any other Vue script variable, except for a small change.

    访问它们的方法与访问其他Vue脚本变量差不多,只有一个小差异。

    youdao

  • This business object encapsulates the Notes document in a private instance variable inherited from the BOEntity class, so any direct access to this document and its items is prevented.

    而这个业务对象在从boentity类继承的一个私有实例变量中封装Notes文档,这样可以保护任何对该文档及其项的直接访问。

    youdao

  • The var attribute defines a variable named row, which is used to access the current row's data during rendering.

    var属性定义一个变量,称为row,可用来在呈现期间访问当前行的数据。

    youdao

  • The notable exceptions in this case are Google Chrome and the latest nightly WebKit as their variable access times remain roughly constant even as identifier depth increases.

    值得注意的是,这里有一些例外情况,GoogleChrome和最新的WebKit午夜版在访问变量的时间保持得很稳定,不会随着作用域深度的递增而增长。

    youdao

  • Furthermore, deleted rows are skipped unconditionally on table scan access while deleted keys are not skipped for type-2 index scans unless the registry variable DB2_SKIPDELETED is also set.

    而且,虽然在type - 2索引扫描中,被删除的行不会被跳过,但是除非同时设置了注册表变量db2_skipdeleted,否则在表扫描访问中,被删除的行将被无条件跳过。

    youdao

  • If the FacesContext isn't available, then the variable resolver can't access any of the Spring beans.

    如果FacesContext不可用,则变量解析器就不能访问任何的Springbean。

    youdao

  • To access derived data types, you use the copy_userdata function, which copies the required data from a non-vue variable, that is, from memory pointed by an argument to a vue script variable.

    要想访问派生的数据类型,应该使用copy_userdata函数,它把所需的数据从非vue变量(也就是从参数指向的内存)复制到Vue脚本变量。

    youdao

  • Now we can access it (i.e., read it) but we can't update it because the variable is final; another compiler error!

    现在run方法可以访问counter变量了(仅仅是读取而已),但却无法更新该变量,因为它是final的,这又导致了另一个编译错误!

    youdao

  • In order to set the context, the variable self is set to the instance while the code is executing, giving the code access to the instance's variables.

    为了设定代码执行的上下文,self变量要设置为执行代码时所在的对象实例,以使得代码可以访问对象实例的变量。

    youdao

  • To ensure that you receive valid data, and don't write bad information to the XML, you access the parameters and set the ok variable accordingly.

    要确保能够接收到有效的数据,并且避免将错误信息写入XML,我们可以访问其参数并相应地设置ok变量。

    youdao

  • In this new thread, you then access stocks, a member variable of the enclosing Activity (the class that creates the UI).

    在这个新线程中,您可以访问stocks,一个封装activity(此类创建了UI)的成员变量。

    youdao

  • The string is saved in a private variable so we have access to the string when the enumerator calls the matches() method to create the result set.

    这个字符串被保存在私有变量中,这样当枚举器调用matches()方法创建结果集的时候就可以访问这个字符串。

    youdao

  • The string is saved in a private variable so we have access to the string when the enumerator calls the matches() method to create the result set.

    这个字符串被保存在私有变量中,这样当枚举器调用matches()方法创建结果集的时候就可以访问这个字符串。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定