The Object Test Bench menus do not display the function if the function takes a variable parameter argument.
如果函数接受变量参数,则对象测试工作台菜单不显示该函数。
Each parameter is specified by calling a client method with the same name and by passing the value to the method as first argument.
通过调用相同名称的客户端以及将值作为第一个参数传递给该方法,来指定每个参数。
If you name a parameter for one argument, for example, you must use parameter names for all of the arguments.
例如,如果对一个参数使用了参数名称,那么对所有其他参数也必须使用参数名称。
When this happens at the outermost level of a script, it automatically assumes that the argument list is the parameter.
当这发生在脚本的最外层时,它自动假设参数表是参数。
The "9" as a parameter is the strongest kill() argument, meaning roughly "kill process with extreme prejudice, then feed it to the piranhas."
9"作为参数,是最强的kill()参数,大体意味着“不管三七二十一,杀死进程再说”。
For example, the toUpper service takes a single parameter named operand and returns the upper case transformation of the resource identified by the URI supplied as the argument.
例如,toUpper服务带有一个叫做operand的参数,并且返回参数uri所表示的资源的大写形式。
Because you need to run the GoogleTest test case, the test suite you pass as parameter to run method takes GoogleTest.class as an argument.
因为需要运行GoogleTest测试用例,所以,作为参数传递给run方法的测试套件采用GoogleTest . class作为参数。
The integer value passed to the parameter function tells the position of the argument in the invocation of an sqlquery function which is replaced in place of this function call.
传递给parameter函数的整数值表示在调用sqlquery函数中参数的位置,该参数将会在调用中被取代。
We simply added the --clear-datastore parameter as a command-line argument that gets passed into our start-up script.
我们只是添加了 --clear-datastore参数作为传递到启动脚本中的命令行实参。
In line 14, a test case must have a single string parameter constructor that passes the argument to its parent class (TestCase) for the purpose of displaying the test case name in a log.
在第十四行中,为了在日志中显示这个测试用例的名称,一个测试用例必须有一个可以将自变量传递到它的父类(TestCase)的专门的串参数构造器。
Because map takes one argument, a function, we can use the "placeholder" indicator _ instead of a named parameter.
因为map接受一个参数,即一个函数,我们可以用_占位符来替代有名参数。
For example, parameter (1) tells the parser to replace this with the first argument after the string argument.
例如,parameter(1)告诉解析器用字符串参数后的第一个参数替代这个值。
If you wrote a method that needed an instance of, say, a Sales class as an argument, you would be forced to specify that the input parameter was of type Object.
如果您编写一个方法,它需要一个实例,比如sales类的实例作为参数,您将不得不将输入参数指定为Object类型。
This time, a string concatenation has occurred within the same method, and the input parameter is now bound to a String type argument at function execution time.
这次,相同方法内发生了字符串串联,并且现在输入参数在函数运行时受到String类自变量的限制。
The CommentBlock function in Listing 4, for example, assumes that the comment introducer is the optional argument that is most likely to be needed, and so places it first in the parameter list.
例如,在清单4中的CommentBlock函数,假设评论人可能是最需要的可选参数,所以将其放置在参数列表的第一位。
To add a response file as an argument, add the -options parameter and the fully qualified name of your response file.
要添加响应文件作为变量,添加-options参数和响应文件的全限定名。
Note that a numeric addition has occurred because the input parameter to the add function is bound to an int type argument at function execution time. Now, try this.
请注意,由于add函数的输入参数在运行时被绑定到int类自变量,因此产生了数值的增加。
They can also be changed by being the argument of an out or inout parameter in a call statement
也可以作为调用语句的out或input参数的实参进行修改。
The RunOnServer method accepts an argument that is the note ID of a parameter document.
RunOnServer方法接受一个参数,即某个参数文档的noteID。
IllegalArgumentError is thrown every time an argument is not considered valid, for example, when a null value is passed to a method as a parameter.
IllegalArgumentError在每次认为参数无效时抛出,例如,将null值作为参数传递给方法。
Basically, whenever the last argument of a method is an array of objects, or a parameter declaration with a triple dot, you can pass multiple parameters to this method.
基本上,只要当一个方法的最后一个参数是一个对象数组,或者是一个有三个点的参数,你就可以向这个方法传入多重参数。
The first string argument to the sqlquery function can contain the parameter function which is replaced by the arguments passed to this function after the first mandatory string argument.
sqlquery函数的第一个字符串参数可以包含parameter函数,该函数将会被传递给sqlquery函数的参数取代,该参数位于第一个必需的字符串参数之后。
Now, this means that one can use a Proc object in a case-statement; it will get the case-argument as parameter.
现在,这意味着可以在case语句中使用Proc对象了;可以将case参数作为Proc的参数。
The value is specified as the id parameter to the argument and is included in the SQL statement as #{id}, just as it is in the XML configuration.
这个值被指定为实参的id参数并被作为 #{id}包括在这个SQL语句内,正如其在XML 配置中那样。
In general, an argument list must have any positional arguments followed by any keyword arguments, where the keywords must be chosen from the formal parameter names.
通常,参数列表中的每一个关键字都必须来自于形式参数,每个参数都有对应的关键字。
An argument that does not include a parameter name, so it is not a keyword argument.
位置参数:一种参数,没有参数名字,不是关键字参数。
As with any call, an argument might match its parameter either because the types match exactly or because there is a conversion from the argument type to the type of the parameter.
与任意函数调用一样,实参必须与它的形参匹配,它们的类型要么精确匹配,要么实参类型能够转换为形参类型。
Each parameter is created anew on each call to the function. The value used to initialize a parameter is the corresponding argument passed in the call.
每次调用函数时,都会重新创建该函数所有的形参,此时所传递的实参将会初始化对应的形参。
Each parameter is created anew on each call to the function. The value used to initialize a parameter is the corresponding argument passed in the call.
每次调用函数时,都会重新创建该函数所有的形参,此时所传递的实参将会初始化对应的形参。
应用推荐