The ServiceClass parameter specifies the service implementation class.
ServiceClass参数指定服务实现类。
What if someone inadvertently passes in a null value for the Class parameter?
如果有人不经意地为Class参数传入一个null值会怎么样呢?
Each region you want to be swappable must be marked as such with a class parameter.
必须通过class参数这样标记每个想要切换的区域。
As mentioned earlier, this only requires that the tag surrounding this section have a class parameter.
正如之前提到的,这只要求包围这个部分的标记具有class参数。
The first part of the signature (within the angle brackets '<...>') is just the list of type parameter definitions for the class.
签名的第一部分(位于尖括号 ‘<...>’ 内)就是该类的类型参数定义清单。
Parameter values are accessed by calling a super class method.
通过调用父类的方法来访问参数值。
If that supplied class is a generic class, all fields of the class are processed as though the most general possible parameter type definitions were supplied for the class.
如果提供的类是泛型类,那么即使为这个类提供了最通用的参数类型定义,也会处理类的所有字段。
First, I'll go through the code involved in building the description of a class with no parameter types defined.
首先,我要处理的代码负责构建不带指定参数类型的类的描述。
You can modify an existing class, pass it as a parameter, and take advantage of the API without requiring the base API to declare an abstract class or interface.
您可以修改已有类,将它作为参数传递,并利用API,而不需要基础 API声明一个抽象类或接口。
The primary constructor, which is the body of the entire class, has a parameter list that takes a label string and a list of callback functions.
主构造函数,类的主题,有一个参数列表来接受标签字符串和回调函数的列表。
In the functional version, I extracted the pure functions (ones that have no side-effects) into their own class, calling them by supplying parameter values.
在函数式版本中,我提取了纯函数(即没有副作用的函数)并将其放入它们各自的类中,通过提供参数值来调用它们。
Constructor getConstructor(Class[] params) -- Gets the public constructor using the specified parameter types
ConstructorgetConstructor(Class[]params) --获得使用特殊的参数类型的公共构造函数
With this option, the keyword typename is generated for every template parameter of type class.
通过这一选项,关键字typename被生成用来类类型的每一个模板参数。
Each of the schedule methods takes an object extending the TimerTask class as its first parameter.
每个schedule方法都采用一个扩展了timertask类的对象作为自己的第一个参数。
Figure 5. Creating a template parameter of type class.
图5.创建一个类类型的模板参数。
This class takes a name as a parameter and returns the name with Hello tacked onto the beginning of the name.
上面这个类接收一个作为参数的name,在 name 的前面加上Hello,然后返回这个 name。
As a general rule, add a PatternParameterDelegate statement to the constructor of each parameter class of the composed pattern.
为复合模式的每个参数类的构造函数增加PatternParameterDelegate声明已成为一种普遍规律。
You pass this information to the API by passing the Employee class as an extra parameter.
作为额外参数传递employee类,从而把这一信息传递给API。
The request processing class reads the parameter values from the request as follows
请求处理类从 reqeust 中读取参数值,如下所示
This invoke method takes two arguments, which supply the class instance and an array of parameter values for the call.
这种invoke方法使用两个参数,为调用提供类实例和参数值数组。
This hash map associates the field descriptor string for a generic class without any parameter types to the GenericTemplate for that class.
这个哈希映射把没有参数类型的泛型类的字段描述符字符串与这个类的GenericTemplate关联起来。
With mixins formulated as generic classes, we always have a handle on the parent class, the type parameter that the class extends.
将mixin明确表述为泛型类,我们就始终有父类的句柄,它是该类继承的类型参数。
The above revised web.xml now defines AnnotationConfigWebApplicationContext context class as part of context parameter and servlet elements.
以上修改后的web . xml现在定义了AnnotationConfigWebApplicationContext上下文类,并将其作为上下文参数和servlet元素的一部分。
Because of the type clause in the class definition, my parameter types coming into the map method are set along with the outputs of this method inside the context.write clause.
由于类定义中的类型子句,我将传入map方法的参数类型设置为在context. write子句内带有该方法的输出。
An integer parameter xx relative to the class myapp.util.UtilClass is obtained by.
通过下面这段代码获得与myapp . ut il . utilclass类有关的整数参数xx。
The request handling class reads the parameter values for hdchkDelete.
请求处理类读取hdchkDelete的参数值。
The GenericTemplate instance holds the basic type parameter information for the class, along with the array of fields defined for the class.
GenericTemplate实例包含类的基本类型参数信息,还有为类定义的字段的数组。
As you will see later, each of the vars in the class declaration becomes a named parameter when constructing an instance of the class.
随后将看到,在构建类实例时,类声明中的每个var将成为一个命名的参数。
If a CSS class name is specified as a parameter, you will apply it to your HTML division element's appearance.
如果在参数中指定了css类名,就应用它控制HTMLdiv元素的外观。
The first parameter is an instance of a class that implements the SensorListener interface.
第一个参数是实现 SensorListener 接口的类的实例。
应用推荐