The real benefit here is that to change or expand the list of supported terms or cities you can just update the string array.
主要的优点在于如果要修改或扩展支持的项或城市列表,只需要修改字符串数组即可。
JBPM provides two different APIs for setting pooled actors - one taking a string array of ids and another taking a set of ids.
jBPM提供了2类不同的API来设置参与者池:一类接收字符串id数组,另一类则接收id集合。
As far as the user's client is concerned, the GetUserRolesArray method returns a normal string array rather than a special STRINGARRAY_HOLDER object.
就用户的客户机而言,GetUserRolesArray方法将返回常规的字符串数组,而不是特定的STRINGARRAY_HOLDER对象。
This example shows how you can access a process variable: The expression %wf:variable.ReadersVar\\readers% accesses the string array attribute "readers" of the process variable named "ReadersVar."
以下示例介绍了如何访问流程变量:表达式 %wf:variable.ReadersVar\\readers%访问名为“ReadersVar”的流程变量的字符串阵列属性“readers”。
A string array can be initialized in the same way.
可以用相同的方式初始化字符串数组。
Concatenates all the elements of a string array, using the specified separator between each element.
串连字串阵列的所有元素,并在每个元素之间使用指定的分隔符号。
This method opens a file, reads each line of the file, and then adds each line as an element of a string array.
此方法打开一个文件,读取文件的每一行,然后将每一行添加为字符串数组的一个元素。
Optional string array containing the data queries to execute to obtain input for the associated update commands.
包含数据查询的可选字符串数组,该数据查询将被执行以得到相关联更新命令的输入。
Given a string array and a file path, this method opens the specified file, writes the string array to the file, and then closes the file.
已知字符串数组和文件路径,此方法打开指定的文件,将字符串数组写入文件,然后关闭文件。
Now assume that the languages live in a String array.
现在假设该语言存在于String数组中。
This method will return a String array of the Book titles given an Author's name.
这个方法将返回包含指定作者的书名的字符串数组。
What is the use of the debug method expecting a String array as one of its parameters?
除了把字符串数组作为参数之一输出,调试方法还有其他作用吗?
These are passed into the methods as a String array of property names and an Object array of property values.
传递给这些方法的参数包括属性名的String数组和属性值的Object数组。
The property here is named AuditoryCues.playList and the setting is a String array of names for auditory cues.
属性在这里被命名为AuditoryCues.playList ,设置则为听觉提示名称的一个String数组。
You perform the same procedure to create a String array value by adding additional values to the Arguments field.
通过向Arguments区域添加额外的值,您就可以执行相同的程序以创建一个String数组。
The steps are roughly the same as for adding the nature, but we remove a nature id from the String array, instead of adding one.
步骤基本上与添加性质相同,但是我们是从字符串数组中删除而不是添加一个性质id。
You can't call .iterator() on a String array, so you are forced to use a slightly different iteration strategy. Again, you are hindered but not completely obstructed, as you can see in Listing 2
不能对String数组调用 .iterator(),因此必须使用稍微不同的迭代策略。
The example in Listing 1 illustrates variable creation of a variety of types (int, float, string, array, and function).
清单1中的示例说明了如何创建多种类型的变量(整型、浮点、字符串、数组和函数)。
The example in Listing 1 illustrates variable creation of a variety of types (int, float, string, array, and function).
清单1中的示例说明了如何创建多种类型的变量(整型、浮点、字符串、数组和函数)。
应用推荐