Instead, the array should be created elsewhere, and its reference be made available to the task.
相反,应该在其他地方创建数组,这个任务可以使用数组的引用。
To do that, you go through the results array, each time getting a reference to the individual element and retrieving its attributes.
为此,要遍历结果数组,每次获取一个单独元素的引用并检索它的属性。
By simply copying the array reference instead of cloning it, both the message and the class that produces it hold a reference to the master copy of the previous bids array.
通过简单地复制而不是克隆数组引用,消息和产生消息的类都保存了前一投标数组的主副本的一个引用。
应用推荐