Clicking the Add button next to the parameter list brings up a Create parameter dialog, where you can type in the name, type, and dimension of the parameter.
点击参数列表旁边的添加按钮会弹出一个创建参数对话框,在这个对话框里你可以输入参数名称、类型以及维数。
The first part of the signature (within the angle brackets '<...>') is just the list of type parameter definitions for the class.
签名的第一部分(位于尖括号 ‘<...>’ 内)就是该类的类型参数定义清单。
Then we input the list as the first parameter of the filterByPP, and input the data type as the second parameter.
然后我们输入列表作为filterByPP 的第一个参数,然后输入数据类型作为第二个参数。
Because the runtime cannot tell a List from a List (at runtime, they're both just Lists), constructing variables whose type is identified by a generic type parameter is problematic.
因为运行时不能区分List和List(运行时都是List),用泛型类型参数标识类型的变量的构造就成了问题。
It implicitly casts the String object type to an object type (for the parameter list).
隐式地把String对象类型转换成object类型(用于参数列表)。
Suppose two methods are identical except that one takes a parameter of type List [String] while the other takes a parameter of type List [Int], as in the the following example.
假设两个方法其它方面都一样,只是其中一个接受List [string]参数,而另外一个接受List [int]参数,如下所示。
You must explicitly add the template type parameters to the template class name when using it as a template parameter in a base class list.
当要将某个模板类型参数用作基类列表中的模板参数时,必须显式地将该模板类型参数添加到模板类名中。
Listing 17 contains a list of items as a Vector data type, which is the return parameter.
清单17包含一系列项目,作为Vector数据类型,它是返回参数。
For each action, get a list of the parameters that are a simple type, where the binding gets the parameter from the URI. Exclude optional parameters.
针对每个动作,获得简单类型的参数列表,这是绑定得到URI参数的地方。该列表不包括可选参数(提取方法的参数名称—译者注)。
If the return type and parameter list of two functions declarations match exactly, then the second declaration is treated as a redeclaration of the first.
如果两个函数声明的返回类型和形参表完全匹配,则将第二个函数声明视为第一个的重复声明。
The design and fabrication of large sized high parameter D type boilers are described along with a list of outstanding features of such boilers in their general layout and structural design.
论述大容量高参数D型锅炉的设计以及此锅炉在总体布置和结构设计上的突出特点。
You can provide your own parameter type, or you can select from the list of available types.
您可以提供您自己的参数型别,或者您可以从可用的型别清单中选取。
A generic procedure can use its type parameters in its normal parameter list, in its return type if it has one, and in its procedure code.
泛型程序可以在一般参数清单、传回型别(如果有的话)和程序程序码中使用自己的型别参数。
The delegate is a type that defines a signature, that is, the return value type and parameter list types for a method.
委派是一种定义签章的型别,签章指的就是方法的传回实值型别和参数清单型别。
A function definition specifies four elements: the return type, the function name, a (possibly empty) parameter list enclosed in parentheses, and the function body.
定义函数必须指定4个元素:返回类型、函数名、圆括号内的形参表(可能为空)和函数体。
If you type a function as a parameter to another function, the parameters list displays the parameters for the inner function.
如果输入函式做为其他函式的参数,参数清单会显示内部函式的参数。
A conversion function must be a member function. The function may not specify a return type, and the parameter list must be empty.
转换函数必须是成员函数,不能指定返回类型,并且形参表必须为空。
A conversion function must be a member function. The function may not specify a return type, and the parameter list must be empty.
转换函数必须是成员函数,不能指定返回类型,并且形参表必须为空。
应用推荐