-
让我们看看100万或者1000万是不是在数组里。
Let's see if 1 million or 10 million is in the array.
youdao
-
youdao
-
首先建立一个数组以保存角色信息。
Start with an array to hold the character information.
youdao
-
这个额外的参数就是数组中的下标。
The extra parameter is the index in the array.
youdao
-
设置一个基本数组以保存选择范围。
Set a base array to hold the pick range.
youdao
-
地址是它在权重数组中的位置。
The address is its location in the weight array.
youdao
-
最后一个特性是灵活的数组成员。
One last feature to mention is flexible array members.
youdao
-
那你如何找到数组中最小值呢?
Find the minimum element in an array?
youdao
-
数组是一种数据结构,而不是类。
An array is a data structure, not a class.
youdao
-
最后取得该数组的第一个值并返回。
I then retrieve the first value of this array and return it.
youdao
-
如果数组为空,则没有发现匹配项。
If the array is empty, then no matches were found.
youdao
-
假设你要查找数组中的最小元素。
Suppose you want to find the smallest element in an array.
youdao
-
在处理数据集合时您应该使用数组。
You should use an array when dealing with a collection of data.
youdao
-
对于饼图,数组之和是整个饼。
For pie charts, the sum of the array is your whole pie.
youdao
-
假定您需要返回任务对象数组。
Pretend that you need to return an array of task objects.
youdao
-
新数组一般根据当前长度调整大小。
The new array is generally sized as some factor of the current length.
youdao
-
下面来看一个打印数组元素的例子。
Let's take a look at an example of printing an array.
youdao
-
在数组中,元素出现的顺序很重要。
In an array, the order in which the elements appear is important.
youdao
-
数据数组有时只是一系列数据。
The data array sometimes is just an array of data.
youdao
-
它就是数组上的reduce方法。
This is the reduce method on the array.
youdao
-
最后,它向调用者返回这个结果数组。
Finally, it returns this result array to the caller.
youdao
-
然而,数组和散列更为复杂。
Arrays and hashes, however, are more complex.
youdao
-
在这种情况下,它是三个对象的数组。
In this case, it's an array of three objects.
youdao
-
第二个数组是一个整数类型的数组。
The second array is of type int.
youdao
-
每个值就是一个字符串或字符串数组。
Every value is a string or an array of strings.
youdao
-
我的建议是尽可能地避免使用空数组。
My suggestion is to avoid using empty arrays as much as you can.
youdao
-
数组为空的情况也作了考虑。
The case of one or both arrays being null is also handled.
youdao
-
将数组括号紧接于类型之后。
Place array brackets on the type.
youdao
-
接下来将创建一个空数组。
Next, an empty array is created.
youdao
-
接下来将创建一个空数组。
Next, an empty array is created.
youdao