Executes the rest of the constructor.
执行构造函数的剩余部分。
Register the attributes in the constructor.
在构造器中注册属性。
Initialize your factory (in the constructor).
初始化您的工厂(在构造函数中)。
In the constructor you'll initialize them both.
在构造函数中,您将初始化这两个变量。
Then set options as arguments to the constructor.
然后,通过构造函数的参数来设置选项。
Use the code in listing 2 for the constructor routine.
使用清单2的代码实现构造器例程。
They can only be initialized through the constructor.
它们只通过构造函数初始化。
Move the initialization code for factors to the constructor.
将factors的初始化代码移到构造函数中。
It has two methods, the constructor and the GetParameter.
它有两个方法,构造函数和GetParameter方法。
Therefore, let's modify the constructor as shown in Listing 6.
因此,我们要修改清单6所示的构造函数。
Do not provide any mutating methods other than the constructor.
除构造函数之外,不再提供任何的可变方法。
This code is part of the constructor for the WorldClock portlet.
这些代码是WorldClock portlet的构造器的一部分。
It reads the namespaces only one time in advance in the constructor.
它只在构造函数内提前读取一次名称空间。
The first argument to the constructor is the URI of the data source.
构造函数的第一个参数是数据源的URI。
In an initializer block, which executes just before the constructor.
在一个初始化块中,仅在构造函数之前执行。
Notice that in the constructor we look for two EntityManagerFactories.
请注意,在构造函数中,我们查找了两个EntityManagerFactory。
Overriding methods in a parent class is not limited to the constructor.
父类中的重写方法不仅局限于构造函数。
You can turn on namespace awareness in the constructor, but I rarely do.
您在构造函数中启用名称空间感知,但我很少这样做。
The most commonly implemented of these methods is the constructor method.
最常实现的方法是构造函数方法。
You can download the actual source code for the constructor and prototype.
您可以下载构造方法和原型的源代码。
The path to the plug-in specific JSP is passed in through the constructor.
特定于插件的JSP 的路径通过构造函数传入。
Note that the constructor takes a string argument, the name of the icon.
构造函数带有字符串参数—图标名称。
When you initiate the class, the constructor loads your Facebook plug-in.
您启动类时,构造函数会加载您的Facebook插件。
Add a simple constructor to the class, such as the constructor in Listing 2.
在类中添加一个简单的构造函数,如清单2中的构造函数。
Any parameters that the constructor requires are listed after the class name.
构造函数所需要的任何参数被列于类名之后。
Recall that the constructor takes the cache object as an optional argument.
回想一下,构造函数以可选参数的方式接受缓存对象。
Look at the constructor and ensure that only the desired strings are created.
看看构造函数,确保只创建了需要的字符串。
Then, add the following code snippet directly below the constructor described above.
然后,在上面描述的构造函数的下方直接添加下列代码片断。
Parameters are added to the constructor similarly to how you add parameters to method.
向构造方法添加参数的方式类似于向方法添加参数的方式。
You even have to supply that external file as part of the constructor, as in Listing 1.
您甚至必须提供相应的外部文件作为构造函数的一部分,如清单1所示。
应用推荐