当然,如果您不需要更多的灵活性,那么可以在函数主体中直接使用常量,而不是参数。
Of course, you could use constants directly in the function body instead of parameters if you don't need the additional flexibility.
被调用的构造函数可以是另外一个辅助构造函数或者主构造函数,而且它必须出现在辅助构造函数主体的第一句。
The constructor invoked may be either another auxiliary constructor or the primary constructor, and it must be the first statement in the auxiliary constructor's body.
下面是这个函数的主体。
当从调用者执行该sql函数时,其主体就是扩展到调用者中的宏。
When the SQL function is executed from the caller, its body is macro expanded into the caller.
在XSLT的主体中调用这个初始化函数,如清单4所示。
Call this initialization function from within the main body of the XSLT, as in Listing 4.
定制的类所要做的只是定义一个映射ns TO HANDLER MAPPING,它为每个名称空间定义另一个从SOAP主体元素名到处理程序函数的映射。
All the customized class has to do is define a mapping, NS_TO_HANDLER_MAPPING, which for each namespace defines another mapping from SOAP body element name to a handler function.
一旦文档主体加载,就调用initialize函数。
Once the body of the document loads, the initialize function is called.
在Python 2.2 +中使函数成为生成器工厂是它主体某处的一个或多个yield语句。
What makes a function a generator factory in Python 2.2 + is the presence of one or more yield statements somewhere in its body.
此函数提供两个参数,请求结构(其中包含请求类型、路径和任意主体数据)以及DocRoot。
The function is provided with two arguments, the request structure (which includes the request type, path and any body data), and the DocRoot.
Scala把主体之前的部分包含等于号作为函数定义,而一个函数在函数式编程中永远都有返回值。
Scala regards a method with the equals sign before the body as a function definition and a function always returns a value in functional programming.
在init函数(在文档主体加载时调用)中,您定义静态数据(报告数据)并将其传递到graph函数。
In the init function, called when the body of the document is loaded, you define static data (the report data) and pass it to the graph function.
方法主体前面的等于号告诉编译器函数的主体从这里开始,就像我们看到的一样。
The equals sign before the method body tells the compiler, as well as the human reader, where the method body begins.
但没有构造函数参数,清单5展示了如何利用特定于常量的主体来做同样的事。
Instead of having the constructor argument, Listing 5 shows how to do the same thing with a constant-specific body.
因为所有的辅助构造函数最终都会调用主构造函数,它主体中进行的逻辑检查和其它初始化工作会在所有实例被创建的时候执行。
Because all auxiliary constructors eventually invoke the primary constructor, logic checks and other initializations done in the body will be performed consistently for all instances created.
Traits不支持辅助构造函数,它们也不支持在主构造函数,trait的主体里的参数列表。
Traits don't support auxiliary constructors, nor do they accept an argument list for the primary constructor, the body of a trait.
函数的主体调用了strings数组的map方法,它接受一个字面函数(Function Literal)作为参数。
The method body calls the map method on the strings array, which takes a function literal as an argument.
在使用set -x时还要记住一点:如果脚本有内部函数,而且set - x放在代码的主体部分,那么它的输出会包含子函数的运算过程。
One thing to keep in mind when using set -x is that if the script you're evaluating has internal functions, set -x will carry over to its child function if placed in the root body of the code.
用下面的代码代替函数的主体。该程序代码很简单,就是指定文本颜色、文本背景颜色以及控件其余部分的背景颜色。
Replace the body of the function with the following code. The code specifies the text color, the text background color, and the background color for rest of the control.
用下面的代码代替函数的主体。
此内置函数将测试当前主体对于指定的安全对象是否具有特定的有效权限。
This built-in function tests whether the current principal has a particular effective permission on a specified securable.
本文的主体部分创建了商业银行流动性函数。
The principal part of this essay is to found the liquidity function of commercial bank.
在社会经济发动机模型(SEEM)的基础上,提出了经济主体对于经济增长速度和经济剩余的效用函数;
On the basis of Social Economic Engine Model (SEEM), this paper proposes the utility function of economic unit regarding to the speed of economic increase and surplus first.
该方法利用事件的框架知识对事件相关文档进行预测,利用事件主体信息来降低其他事件的干扰,并对事件与文档的相关评价函数进行了改进。
In the method, event frame is used for predicting the relevant documents, and event body is used for reducing interference of similar event, and evaluation function of system is improved.
该方法利用事件的框架知识对事件相关文档进行预测,利用事件主体信息来降低其他事件的干扰,并对事件与文档的相关评价函数进行了改进。
In the method, event frame is used for predicting the relevant documents, and event body is used for reducing interference of similar event, and evaluation function of system is improved.
应用推荐