假定您需要返回任务对象数组。
对象数组包含在方括号中。
输出也是一样的:Stock对象数组。
And the output is always the same: an array of Stock objects.
您遍历对象图并创建Stock对象数组。
You traverse object graph and create the array of Stock objects.
它获取浏览器中的数据并返回简单对象数组。
It takes in browser data and returns an array of simple objects.
这个方法返回一个FlightsBean对象数组。
这个属性的值是一个GridCell对象数组。
options是一个option对象数组。
这是一个对象数组,其中每个JSON对象表示一条新闻。
You get an array of objects, where each JSON object represents a story.
第一个数组,主题数组,是一个字符串对象数组。
The first array, the topic array, is an array of String objects.
而且,在没有明确指定的情况下,会把该变量定义为对象数组。
Also, it would define the variable as an object array unless otherwise indicated.
由于它返回一个配置对象数组,因此您总是要检查返回的数组的长度。
Since it returns an array of config objects, you should always check the length of the returned array.
add_edges方法根据一系列的点创建一个edge对象数组。
The add_edges method creates an array of edge objects from a sequence of points.
要设置挤压路径,需要定义一个Edge对象或一个Edge对象数组。
To set the extrusion path, you need to define an Edge object or an array of Edge objects.
迭代器模式将提供一种通过对象集合或对象数组封装迭代的方法。
The iterator pattern provides a way to encapsulate looping through a collection or array of objects.
在这个示例中,该方法使用SBJSON对象来解析和获取数据对象数组。
In this example, this method USES an SBJSON object to parse and obtain a data object array.
它有一个称为images的FlickrImage对象数组(序列)。
It has an array (sequence) of FlickrImage objects called images.
Discussion数据库web服务提供的列表方法返回数据传输对象数组。
The list methods provided by the Discussion database Web services return arrays of data transfer objects.
sortBy是一个sort对象数组,用于确定如何对返回的数组排序。
sortBy is an array of sort objects that determines how the returned array is sorted.
这个接口包含一个方法,称为handle(),它接受Fault对象数组。
This interface contains one method called handle() that accepts an array of Fault objects.
这样,您可以更轻松地直接从服务器的流读取数据并将其转换成Stock对象数组。
Thus, you can more easily read directly from the stream from the server and turn it into an array of Stock objects.
在获得的词汇对象数组上执行 foreach循环,找到词汇ID $tid。
The term ID, $tid, is found using a foreach loop on the array term object array retrieved.
这个定制标记还有一个可选的 params属性,它可以是一个单一的对象或一个对象数组。
The custom tag also has an optional params attribute, which can be a single object or an array of objects.
它创建一个JSON对象数组,并将每个对象传递到story类的构造器中(如清单6所示)。
It creates an array of JSON objects and passes each object into the constructor of the Story class (shown in Listing 6).
在setUp方法内,用collaborator类的构造方法所需的实际值实例化对象数组。
Within the setUp method, you instantiate an object array with the actual values the Collaborator class 'constructor needs.
本文介绍了一项技术,它可以基于每个对象的内容将对象数组划分成几个更小的输出数组。
This article described a technique to separate an array of objects into several smaller output arrays based on each object's content.
第一个类型是StatsContainer对象数组,而另一个类型则是string对象数组。
The first type is an array of StatsContainer objects and the other is an array of string objects.
要发送字符串对象数组,您调用JSON . stringify函数,将数组作为参数传递进来。
To send your array of string objects, you call the JSON.stringify function, passing in the array as the argument.
与resolve类似,这个方法也会返回一个配置对象数组,因为许多配置对象都可以匹配这种模式。
Similar to resolve, this method also returns an array of config objects, since multiple config objects can match the pattern.
与resolve类似,这个方法也会返回一个配置对象数组,因为许多配置对象都可以匹配这种模式。
Similar to resolve, this method also returns an array of config objects, since multiple config objects can match the pattern.
应用推荐