It could store the configuration property names as constants, typically in an interface, and access values directly via the configuration API.
它可以将配置属性的名称存储为常量(通常是在一个接口中),然后直接通过配置API访问值。
Any parameter values specified by the developer invoking the transformation are obtained with simple method calls and are typically translated into something more meaningful, like MDA API references.
任何由调用转换的开发人员所指定的参数值可以通过简单的方法调用而获得,并转化为更有意义的东西,如MDAAPI参考。
It reduces redundant test code and can enforce a standardized mechanism to perform some tasks and keep track of values returned by the API methods.
它减少了冗余测试代码,能够强制使用标准的机制执行任务,并且可以跟踪api方法的返回值。
Just like arrays, there is no API for directly accessing hash values.
就象数组那样,没有用于直接访问散列值的API。
There are also a lot of additional features in the SDO API to create or delete objects, or to change their values.
SDOAPI中还有很多附加的特性可用于创建或删除对象,或者是改变它们的值。
There's no API for directly accessing the values of arrays.
没有用于直接访问数组值的API。
Of course, an API that only let you reference sites with numeric values would be pretty limited.
当然,只能用数值引用位置的API 作用是很有限的。
Now let's see how to read and write simple values using the Preferences API.
现在让我们看一下如何用Preferences API读取和写入简单的值。
So to embed an existing API within a web service definition, you just need a convention for how to represent call parameters and return values as XML message structures.
因此,为了在Web服务定义中嵌入现有API,您只需要约定如何将调用参数和返回值表示为XML消息结构即可。
With the request path and parameters mapped, writing a test case becomes a matter of utilizing the MockStrutsTestCase API to set associated values, as shown in Listing 6.
请求路径和参数映射好之后,编写测试用例就成了利用MockStrutsTestCaseAPI设置相关口令值的问题,如清单6所示。
The RecordComparator API consists of one method and three pre-defined return values.
RecordComparatorAPI包括一个方法和三个预定义的返回值。
It returns one of the FileVisitResult's enum values to tell the file visitor API what to do next.
它返回一个filevisitresult枚举值,来告诉文件访问程序api下一步做什么。
To obtain values contained in a Data Object, the SDO API provides easy-to-use methods.
SDOAPI提供一些简单易用的方法来获取数据对象中的值。
There is also a map called dealDetails whose keys will be Item IDs (which you will get from the deals data), and whose values are the more detailed information obtained from the eBay Shopping API.
还有一个名为 dealDetails 的映射,其键是ItemIDs(来自于交易数据),其值是从eBayShopping API获取的详细信息。
Three classes of return values are possible from the send API function.
sendapi函数有三类可能的返回值。
The Lotus Forms API is used to process the form values and validate the signatures.
使用LotusFormsAPI处理表单值并验证签名。
The Sum API can be used to provide a summation of the values of an EAttribute present with in a list.
SumAPI可以用来提供一个列表中EAttribute值的总和。
DbUnit's Query API is flexible enough to facilitate the filtering of non-essential values, which in this case is everything but the username and password.
DbUnit的查询api足够灵活,可以帮助过滤掉没有意义的值,在这个示例中就是username和password之外的值。
Many APIs that expect explicit constants or 'magic values' are part of an API contract and not merely some value added in to the code.
需要显式常量或是“魔力值”的很多API都是API契约的一部分,这些常量或数值并不只是随意添加到代码中的(这里的意思指的是很多API中都拥有一些常量或是数值,他们是API契约所要求的,因此根据反编译后的结果很难推测出这些常量或数值所代表的含义——译者注)。
The valid values for these parameters reflect the values supported by the JDBC API (You can check the supported values by referring to the JDBC ResultSet API page).
这些参数的有效值反映JDBCAPI支持的值(可以参考jdbcResultSet API页面查看受支持的值)。
The mean API can be used to provide the mean of the EAttribute values present within a list.
MeanAPI可以用来提供列表中呈现的EAttribute的平均值。
The Max API can be used to provide the maximum of the values of an EAttribute present with in a list.
MaxAPI可以用来提供列表中呈现的EAttribute的最大值。
This value is termed the absolute priority of the thread and is calculated from the priority values assigned through the API to both the thread and the process which owns that thread.
这个值被决定了线程的绝对优先级,这个绝对优先级是通过API赋值给线程的优先级以及它所在进程的优先级共同计算得到的。
The query API also allows to query for field default values.
这种查询API还能够查询字段默认值。
Second, in a realistic program, you should generally test the return values of all the API calls in this program immediately to detect errors (e. g., import failure).
第二,在一个实际的程序中,你一般应该立即检查程序中所有API调用的返回值,以检测错误(例如导入失败)。
Call the debugging API to access the values of variables in the expression and to invoke the functions in the expression.
调用调试api以访问表达式中的变量值以及调用表达式中的函数。
The World of Warcraft API uses rather complex values for some arguments and return values.
魔兽世界API使用了一些整合参数和返回值变量类型。
Today nearly all programmers use the Advanced Programming Interface (API) to receive informations about given system values.
现在几乎所有的程序员都采用扩展程序接口(API)来获取操作系统信息。
Today nearly all programmers use the Advanced Programming Interface (API) to receive informations about given system values.
现在几乎所有的程序员都采用扩展程序接口(API)来获取操作系统信息。
应用推荐