Provide at least one constructor.
至少提供一个构造函数。
Pattern has no public constructor.
Pattern没有公共的构造函数。
Do not use the Function constructor.
不要使用Function构造器。
Its constructor is shown in Listing 1.
它的构造函数如清单1所示。
提供构造函数。
You know that Set has a copy constructor.
您知道Set有一个拷贝构造函数。
It must have a public default constructor.
必须拥有公有的默认构造函数。
A public default constructor; for example.
公共的默认构造函数;例如。
You must have a public default constructor.
您必须具有公共缺省构造器。
An example constructor is shown in Listing 1.
清单1展示了一个示例构造函数。
First, add a constructor to the Product class.
首先,添加构造函数至product类。
Each car constructor has two cars in the race.
每一个赛车制造商有两辆赛车参加竞赛。
The constructor for the built-in open function is.
此内置open函数的构造函数是。
The constructor in the source code is coded this way.
源代码中的构造方法就采用这种方法。
Every Ruby class has a constructor method called new.
每个Ruby类有一个名为new的构造函数方法。
Use the code in listing 2 for the constructor routine.
使用清单2的代码实现构造器例程。
Next, notice the named argument constructor for frame.
接下来,注意frame的命名参数构造器。
Note that we declare the LogonUI constructor as private.
请注意,我们把构造函数 LogonUI声明为 private。
The Collaborator class constructor is still quite simple.
Collaborator类构造函数仍然十分简单。
These four constructor calls create four different integers.
这四个构造函数调用创建了四个不同的整数。
The runtime does not give a type constructor a second chance.
运行库不会给类型构造函数第二次机会。
The object's constructor and its render method look like this
对象的构造函数和render方法看上去是这样的
Its constructor will create a connection to the LDAP directory.
其构造函数将会创建一个对LDAP目录的连接。
The constructor is passed a reference to the actual grammar self.
构造函数被作为引用传递给实际的语法self。
Note that the site's constructor accepts a designer host instance.
请注意,站点的构造函数接受设计器宿主实例。
The class generally has a constructor that is prefixed with "init."
该类通常有一个“init”前缀的构造器。
The first argument to the constructor is the URI of the data source.
构造函数的第一个参数是数据源的URI。
The parent keyword is particularly important in constructor methods.
parent关键字在构造函数方法中尤其重要。
Instead, you pass the table instance in the TableColumn constructor.
相反,您把表实例传入TableColumn构造器中。
Throw an exception at run time when there is no matching constructor.
当没有匹配的构造函数时,抛出运行时异常。
应用推荐