This code first creates a new InitialContext using the default constructor.
上面的代码首先使用缺省的构造器创建一个新InitialContext。
The default constructor invoked the no - arg constructor of the superclass.
默认构造函数调用父类的无参数构造函数。
As you can see, the default constructor USES a BuddyNoteMessageHandler object.
如您所见,默认的构造器使用BuddyNoteMessage Handler对象。
This essentially means that the WCF attribute will utilize the default constructor.
这基本上意味着WCF 将会使用默认的构造器。
In the method (shown below), you create a Shell object with the default constructor.
在下面的方法中,您在默认的构造函数中创建Shell对象。
The idea is to create a protected copy constructor aside from the default constructor.
保护的想法是创建一个拷贝构造函数除了默认构造函数。
Because I'm building a class myself, I need to explicitly create the default constructor.
因为我自己正在构建一个类,所以我需要显式地创建默认构造函数。
The @Name annotation tells Seam to use the default constructor of a class to create a new instance.
@Name注释告知Seam使用默认的类构造函数创建新实例。
Eventually she will figure it out: Her code is missing the default constructor for the applet she is writing.
最后他将发现,他写的小应用程序代码缺少缺省的构造函数。
Assuming that the allocation succeeds, then the object is initialized by running the default constructor.
假定分配成功,则通过运行默认构造函数初始化该对象。
If we do not explicitly define any constructors, then the compiler will generate the default constructor for us.
如果没有为一个类显式定义任何构造函数,编译器将自动为这个类生成默认构造函数。
Using the new operator calls the default constructor of the specific type and assigns the default value to the variable.
此调用后,该结构被认为已被明确赋值;也就是说该结构的所有成员均已初始化为各自的默认值。
Creates an instance of the COM object whose name is specified, using the named assembly file and the default constructor.
使用命名的程序集文件和默认构造函数,创建指定名称的COM对象的实例。
This instantiation involves the default constructor for the class being called, with the injection of dependencies happening afterwards.
这种实例化涉及到要调用的类的默认构造函数,随后还要注入依赖关系。
Any constructors that you define for structures must have at least one argument so that they do not conflict with the default constructor.
为结构定义的任何构造函数都必须至少有一个参数,以便不会与默认构造函数冲突。
P' must be fully assigned before control is returned to the caller. Consider calling the default constructor from a constructor initializer.
并且给了我们一个建议,那就是在构造器之前调用默认构造器。
The first method is one that doesn't even appear in the source code for my template class back in Listing 1, the default constructor for the class.
清单1中的模板类源代码是类的默认构造函数,第一个方法没有出现在其中。
If you do not define a constructor for your dynamic type, a default constructor is provided automatically, and it calls the default constructor of the base class.
如果您没有为动态型别定义建构函式,便会自动提供一个预设的建构函式,而且它会呼叫基底类别的预设建构函式。
Whenever you create a new instance of one of the managed symmetric cryptographic classes using the default constructor, a new key and IV are automatically created.
每当使用默认构造函数创建某个托管对称加密类的新实例时,都将自动创建新的密钥和IV。
After the registration process has been stopped, the registration object's state is equal to the state directly after being constructed by the default constructor.
停止注册过程后,注册对象的状态将等于使用默认构造函数构造该对象后的状态。
When a struct contains a reference type as a member, the default constructor of the member must be invoked explicitly, otherwise the member remains unassigned and the struct cannot be used.
当结构包含引用类型作为成员时,必须显式调用该成员的默认构造函数,否则该成员将保持未赋值状态且该结构不可用。
When you use an object initializer to create an instance of a named type, the default constructor for the class is called, followed by initialization of designated members in the order you specify.
当您使用物件初始设定式来建立具名型别的执行个体时,会呼叫类别的预设建构函式,接著按照您指定的顺序初始化指定的成员。
The check is actually redundant in this example, because the constructor for the default socket implementation performs the same check.
在这个示例中,检查实际上是多余的,因为缺省套接字实现的构造函数也执行相同的检查。
The class being serialized/deserialized is not required to have a default constructor.
序列化/逆序列化的类不需要有默认构造函数。
A common extension of this idea is to prefill the collection with default values in the constructor of the class.
这种思想的常见扩展是在类的构造函数中预先用缺省值填充该集合。
Note that you can drop the parentheses when using a default constructor (i.e., one that takes no arguments).
注意,你在使用默认构造函数时可以不用写括号(例如,没有参数的构造函数)。
The first is a default constructor that sets a timestamp member variable.
第一部分是一个默认的构造函数,用来设置timestamp变量的值。
The third parameter of the LinkedHashMap constructor must be true to use the access-order for the map's entries instead of the default order.
若不想使用默认顺序,LinkedHashMap构造函数的第三个参数必须是true以便使用条目的访问顺序。
The third parameter of the LinkedHashMap constructor must be true to use the access-order for the map's entries instead of the default order.
若不想使用默认顺序,LinkedHashMap构造函数的第三个参数必须是true以便使用条目的访问顺序。
应用推荐