添加的构造函数处理存取顺序选项。
The additional constructor deals with the access order option.
语法规则在其构造函数中定义。
不要提供一个无参数的构造函数。
没有用于创建记录存储的构造函数。
最常实现的方法是构造函数方法。
The most commonly implemented of these methods is the constructor method.
原因是该类没有无参数构造函数。
The reason is that the class doesn't have a no-arguments constructor.
查找下面的NULL构造函数。
它们只通过构造函数初始化。
第二个辅助构造函数只接受一个标签。
执行构造函数的剩余部分。
在构造函数中,您将初始化这两个变量。
清单3:nessus类的构造函数。
然后,通过构造函数的参数来设置选项。
方法和构造函数也可以有不变条件测试。
父类中的重写方法不仅局限于构造函数。
Overriding methods in a parent class is not limited to the constructor.
它只在构造函数内提前读取一次名称空间。
It reads the namespaces only one time in advance in the constructor.
它的构造函数创建共享内存及其中的对象。
Its constructor creates the Shared memory and objects in it.
因此,我们要修改清单6所示的构造函数。
Therefore, let's modify the constructor as shown in Listing 6.
PHP引擎在实例化对象时调用构造函数。
The PHP engine calls a constructor when the object is instantiated.
它们是构造函数的参数。
构造函数采用两个参数。
除构造函数之外,不再提供任何的可变方法。
Do not provide any mutating methods other than the constructor.
构造函数所需要的任何参数被列于类名之后。
Any parameters that the constructor requires are listed after the class name.
构造函数、方法和变量。
您在使用显式类型构造函数时需要进行权衡。
You'll need to evaluate the tradeoffs in using an explicit type constructor.
看看构造函数,确保只创建了需要的字符串。
Look at the constructor and ensure that only the desired strings are created.
依赖关系通过构造函数或属性注解进行配置。
Dependencies are configured via constructor or field annotations.
在页面右侧的参数区域找到构造函数下拉列表。
Find the constructors drop-down list in the parameters area on the right side of the page.
构造函数和它关联的结构化类型有相同的名称。
The constructor function has the same name as the structured type with which it is associated.
应用推荐