只能通过两种方式初始化结构成员:一是使用参数化构造函数,二是在声明结构后分别访问成员。
You can initialize struct members only by using a parameterized constructor or by accessing the members individually after the struct is declared.
ActionCatalog包含配方构造步骤函数的一个参数化的RecipeJAUS命令序列。
The ActionCatalog contains a parametrized RecipeJAUS command sequence for recipe construct step functions.
创建了Zend _ Rest_Client对象的一个实例,在初始化操作中确定WikipediaAPI服务端点作为构造函数参数。
An instance of a Zend_Rest_Client object is created and initialized with the Wikipedia API service endpoint as constructor argument.
但是在我们对超类所知的一切只限于它是类型参数的实例化时,对于什么样的构造函数可用于给定的实例化,我们没有任何概念。
But when all we know about our superclass is that it's some instantiation of a type parameter, we have no idea what constructors will be available for a given instantiation.
这些界限可以指定一组可用的构造函数,它们必须出现在参数的每一个实例化中。
These bounds could specify the set of available constructors that must be present in any instantiation of the parameter.
清单1实例化一个默认的树查看器;您也可以定制树,并用树对象作为参数,用构造函数实例化树查看器。
Listing 1 instantiates a default tree viewer; you can also customize the tree and instantiate the tree viewer by using a constructor with a tree object as the parameter.
包含额外的类型参数注释,告知我们这些实例化必须包含哪些构造函数。
Include additional annotations on type parameters telling us which constructors those instantiations must contain.
当作为构造函数参数时,这些可变或者不可变的变量会在一个对象被实例化的时候被初始化。
When used as constructor parameters, the mutable or immutable variables specified will be initialized when an object is instantiated.
要求类型参数的所有实例化都包括不带参数的(zeroary)构造函数。
Require all instantiations of a type parameter to include a zeroary constructor.
其构造函数含有两个参数:初始化属性和预配置的记录器(logger)实例。
Its constructor takes two arguments: initialization properties and a pre-configured logger instance. Properties object contains the following.
按照推理,如果您用SOAPMappingRegistry的无参数构造函数对它进行实例化,将返回一个具有2001名称空间意识的实例。
As a corollary, if you instantiate SOAPMappingRegistry with its no-arg constructor, a 2001 namespace-aware instance is returned.
首先,为了对类型参数构造合法的new表达式(如 newT() ),必须确保我们调用的构造函数对于 T 的每个实例化都有效。
First off, in order to form a legal new expression on a type parameter, such as new T(), it's necessary to make sure that we're calling a constructor that is valid for every instantiation of T.
接下来,初始化services_oembed类的一个实例,类构造函数被传递两个参数:YouTubeURL和一组选项。
Next, an instance of the Services_oEmbed class is initialized, with the class constructor passed two arguments: the YouTube URL and an array of options.
需要一个不带参数的(zeroary)构造函数,用于所有类型参数的实例化。
Require a zeroary constructor for all type parameter instantiations.
没有所带参数列表与初始化匹配的构造函数。
There is no constructor with a parameter list that matches the initialization.
当一个类是反序列化的,超类的无参数构造函数运行。
When a subclass is DE - serialized, the no-argument Constructor of the super class will run.
当一个类是反序列化的,超类的无参数构造函数运行。
The serialization runtime or the class of the instance can throw this exception. The argument should be the name of the class.
一个缺省的构造函数可以用缺省值来初始化所有的参数,构造一棵基本的分类树。
There is a default constructor that initializes all the parameters with the default values tuned for standalone classification tree.
一个缺省的构造函数可以用缺省值来初始化所有的参数,构造一棵基本的分类树。
There is a default constructor that initializes all the parameters with the default values tuned for standalone classification tree.
应用推荐