我们推荐的用于公开对象集合的唯一方法就是使用数组。
The only recommended way to expose object collections is to use arrays.
这个方法返回一个FlightsBean对象数组。
高效,这是通过使用Bartok的对象、方法表和数组的本地布局达到的。
Highly efficient through the use of Bartok's native layouts for objects, method tables and arrays.
客户机将创建一个由这些Element对象组成的数组,并调用AxisCall对象的invoke方法。
The client creates an array of these Element objects and calls the invoke method of the Axis Call object.
Discussion数据库web服务提供的列表方法返回数据传输对象数组。
The list methods provided by the Discussion database Web services return arrays of data transfer objects.
由于可以返回多个内容库对象,因此query方法将返回一个内容库对象的数组。
Since more than one Content Store object an be returned, the query method returns an array of Content Store objects.
这个接口包含一个方法,称为handle(),它接受Fault对象数组。
This interface contains one method called handle() that accepts an array of Fault objects.
通常,原生toString()方法输出的数组表示就像对象的原始表示一样,并不真正显示内容。
Normally, the native toString() method prints a representation of the array just like the original representation of the object, without really showing the contents.
就用户的客户机而言,GetUserRolesArray方法将返回常规的字符串数组,而不是特定的STRINGARRAY_HOLDER对象。
As far as the user's client is concerned, the GetUserRolesArray method returns a normal string array rather than a special STRINGARRAY_HOLDER object.
这个方法从PreferencesAPI中读取片段,并将它们结合为单个字节数组,然后将它转换为对象。
This method reads the pieces from the Preferences API, combines them into a single byte array, and then converts this back into an object.
我会将参数WS.QName、参数数组和编码样式传递到WS . Call对象的invoke_rpc方法,如清单6所示。
QName, the parameters array, and the encoding style to the WS. Call object's invoke_rpc method, as shown in Listing 6.
在Web服务之间转换对象集合的唯一方法是将其作为数组。
The only way in which collections of objects should be transferred between Web services is as an array.
add_edges方法根据一系列的点创建一个edge对象数组。
The add_edges method creates an array of edge objects from a sequence of points.
SketchUp提供了一个Color对象,但是更容易的方法是使用一个简单的RGB数组替代,例如 [64, 128, 255]。
SketchUp provides a specific Color object, but it's easier to substitute a simple RGB array like [64, 128, 255].
一个Simpli5对象和jQuery对象非常类似,也是一个元素数组,调用对象的方法实际上会调用这些元素的方法,例如,document.body.addClass('myclass')和$('div').addClass('myclass')实际上是将这个类加入到元素中去。
So document.body.addClass('myclass') and $('div').addClass('myclass') both add to the class of the elements.
基本上,只要当一个方法的最后一个参数是一个对象数组,或者是一个有三个点的参数,你就可以向这个方法传入多重参数。
Basically, whenever the last argument of a method is an array of objects, or a parameter declaration with a triple dot, you can pass multiple parameters to this method.
迭代器模式将提供一种通过对象集合或对象数组封装迭代的方法。
The iterator pattern provides a way to encapsulate looping through a collection or array of objects.
您可以将这个对象作为一个方法—或一个方法的结果—的参数,而无须构建数组在UI和服务之间传递数据。
You can use the object as an argument to a method - or the result of a method - without building arrays to pass data between the UI and services.
如果忽略decode方法的第二个参数,则返回一个数组而不是一个对象。
(If you leave out the second parameter for the decode method, it returns an array rather than an object).
在这个示例中,该方法使用SBJSON对象来解析和获取数据对象数组。
In this example, this method USES an SBJSON object to parse and obtain a data object array.
该类中的方法使您能够创建新数组,获得数组对象的长度,读和写数组对象的索引值。
The methods in this class let you create new arrays, get the length of an array object, and read and write indexed values of an array object.
ListChildren方法返回CatalogItem对象的数组,该数组表示用户有权查看的项,包括报表、文件夹和数据源。
The ListChildren method returns an array of CatalogItem objects representing the items that the user has permission to view, including reports, folders, and data sources.
与resolve类似,这个方法也会返回一个配置对象数组,因为许多配置对象都可以匹配这种模式。
Similar to resolve, this method also returns an array of config objects, since multiple config objects can match the pattern.
Phar对象使用ArrayAccessSPL 对象,允许以数组的形式访问归档内容,因此提供了许多方法来向归档添加文件。
The Phar object uses the ArrayAccess SPL object to allow accessing the contents of the archive as an array, so it opens up many ways of adding files to the archive.
在setUp方法内,用collaborator类的构造方法所需的实际值实例化对象数组。
Within the setUp method, you instantiate an object array with the actual values the Collaborator class 'constructor needs.
然后对象的 getRecentPosts()方法检索用户最近提交的书签,解析XML响应并转化成嵌套的PHP数组序列。
Then, the object's getRecentPosts() method retrieves the user's most recently-submitted bookmarks, and the XML response is then parsed and converted into a nested series of PHP arrays.
CreateSDOPackage动作生成的代码包含数组方法和用于相关sdo对象的列表方法。
The code generated with the Create SDO Package action contains the typed array methods, along with the list methods for the related SDO objects.
有没有标准的方法,通过索引键的范围从对象和对象数组的索引?
Is there any standard method to get array of objects from object with indexer by range of index keys?
所有对象(包括数组)都实现这个类的方法。
All objects, including arrays, implement the methods of this class.
如果该对象表示的类或接口未实现接口,方法返回的数组长度为0。
If this object represents a class or interface that implements no interfaces, the method returns an array of length 0.
应用推荐