添加的构造函数处理存取顺序选项。
The additional constructor deals with the access order option.
语法规则在其构造函数中定义。
不要提供一个无参数的构造函数。
没有用于创建记录存储的构造函数。
最常实现的方法是构造函数方法。
The most commonly implemented of these methods is the constructor method.
它们只通过构造函数初始化。
许多选项可以被传送到这个构造函数。
其构造函数的一种形式采用了小部件。
One form of the LocalResourceManager's constructor takes a widget.
执行构造函数的剩余部分。
在构造函数中,您将初始化这两个变量。
然后,通过构造函数的参数来设置选项。
方法和构造函数也可以有不变条件测试。
它只在构造函数内提前读取一次名称空间。
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.
我们没有声明构造函数用其它值来初始化它。
There is no constructor defined to initialize it to another value.
构造函数构建列表,选择函数分解列表。
您在构造函数中启用名称空间感知,但我很少这样做。
You can turn on namespace awareness in the constructor, but I rarely do.
建模构造函数、分析构造函数,以及拷贝构造函数。
构造函数注入利用构造函数判断要返回的具体对象类型。
Constructor injection USES a constructor to determine what type of concrete object to return.
不必将构造函数的使用限制为间接Enum构造函数调用。
You don't have to limit the use of constructors to indirect Enum constructor calls.
此外,枚举类型支持拥有构造函数、实例方法和变量,等等。
In addition, enumerated types support having constructors, instance methods, and variables, among other things.
Scala可以区分主构造函数和0个或多个辅助构造函数。
Scala distinguishes between a primary constructor and zero or more auxiliary constructors.
重要的是构造函数的参数在处理构造函数内的任何代码之前被处理。
The key point is that the constructor's parameters are processed before any code inside the constructor is processed.
编程模型是优雅的,基于构造函数的风格意味着您无需包括无参构造函数。
The programming model is elegant, and the constructor-based style means you don't have to include a constructor without arguments.
应用推荐