I also modeled that the prerequisites list is displayed as part of the seminar details user-interface element, which is more than the use case currently calls for.
对于作为研习班细节用户界面元素的其中一部分的前提列表也进行了建模,这要比用例当前调用的内容多。
In this case, the fold operation refers to a transformation that combines each element of the list with the next one, accumulating a single result for the entire list.
在这种情况下,fold运算指的是结合列表每个元素与下一个元素的转换,为整个列表提供一个累计的结果。
Sum-factors reduces the list one element at a time, using the function (in this case, +) supplied as the first parameter on each element.
sum - factors一次减少一个列表元素,它使用函数(本例中,是+)作为每个元素的第一个参数。
At some point in its execution, the each method executes the yield instruction giving it an argument that happens to be the next element of the list in the case of the Array class's each method.
在执行中的某个时刻,each方法执行yield指令,在Array类的each方法的情况下,给该指令一个正巧成为列表中下一个元素的参数。
In the second case of we've used a special wild card pattern to match a List of any size, even zero elements, and any element values.
在第二个case里我们使用了一个特殊的通配符来匹配一个任意大小的List,甚至0个元素,任何元素的值都行。
The first statement calls a function (in this case, toUpper, which converts a character to uppercase) on each element of a list.
第一个语句在列表的每个元素上调用函数(本例中为toUpper,用于把字符转成大写)。
Listing 2 contains a program that generates the compilation-time error message that happens when you try to add the wrong type of element to a generic collection - a List in this case.
在尝试向泛型集合(本例中为List)添加错误类型的元素时,清单2中的程序会生成编译时错误消息。
So the first thing we'll do is, we'll print the element, in this case it will be a list right? Because it's a list with two lists in it.
因此这儿我们要做的第一件事,就是要显示元素,在这儿元素就是数组了对不对?,因为这个数组包含了两个数组。
You should see a pop-up menu with a list of elements that are valid at this point in the document, in this case the HTML element.
您应该看见一个弹出菜单,该菜单列出了文档中这个位置上有效的元素,在这种情况下是html元素。
In this case, the anonymous function adds 1 to every element of a list.
在本例中,匿名函数为列表的每个元素加1。
In this case, the anonymous function adds 1 to every element of a list.
在本例中,匿名函数为列表的每个元素加1。
应用推荐