When I call this class definition, it calls init, init and I give it an x and a y value.
我说过,当我们,调用这个类的定义的时候,它会去调用。
Often, it just doesn't make sense to include a zeroary constructor in a class definition.
通常在类定义中包含不带参数的构造函数没有任何意义。
You do not code a class definition for them, nor do you call a constructor to create them.
不能通过代码为SDO编写一个类定义,也不能调用构造函数来创建它们。
So in order to model cases in IBM FileNet, the sample asset USES a CaseFolder class definition.
因此,为了在IBMFileNet中对案例进行建模,示例资产使用一个casefolder类定义。
If the class is already loaded, the class definition reopens the class, allowing me to make changes.
如果已经加载了类,则类定义会重新打开类以允许我进行变更。
Verify that the target folder and target class definition are valid and exist on the target library.
验证目标文件夹和目标类定义有效并存在于目标库中。
The following class definition (Listing 1) demonstrates this method for defining trace and message loggers.
下面的类定义(清单1)演示了这个用于定义跟踪日志记录器和消息日志记录器的方法。
Listing 1 contains the class definition, some fields that will be used later on, and the initialize method.
清单1包含类定义、将稍后使用的一些字段以及initialize方法。
This information is added to the sub-class definition representing that case type under the case folder.
这些信息添加在案例文件夹中代表案例类型的子类定义中。
The element contains the user-defined class definition the RPCAdapter will instantiate to invoke the method.
元素包含用户定义的类定义,RPCAdapter将实例化此类定义以调用方法。
When a server entry is not in the OK state, it is shown in red, thanks to a class definition in the CSS file.
借助CSS文件内的类定义,当服务器条目没有处于OK状态时,它就会被显示为红色。
In Groovy, however, behavior can be defined within functions, which can be defined outside a class definition.
不过在Groovy中,行为可以在函数中定义,而函数可以在类定义之外定义。
This DeclarativeMeta type is the magic that allows all of the actions to occur in one simple class definition.
这个declarativemeta类型的魔力就是允许所有操作发生在一个简单的类定义中。
First, leave the original class definition intact so that it can be found when existing instances are unpickled.
首先,确保原来的类的定义没有被更改,以便在unpickle现有实例时可以找到它。
The noncopyable class definition presents no surprises, as the copy constructor and operator= are declared private.
noncopyable类定义没有什么令人感到新奇的地方,因为copyconstructor和operator= 声明为 private。
For an exercise in class definition, you'll use the caching factorial calculator of factorial.py, shown in Listing 4.
我们用高速缓存阶乘计算器factorial . py作为类定义的练习,如清单4所示。
Then, inside the generic class definition, the only constructors that could be called are those declared in the bound.
因而,在泛型类定义内部,唯一可调用的构造函数是那些在界限中声明的构造函数。
You do have to ensure that the code module containing the class definition is available in the unpickling environment.
您必须确保包含类定义的代码模块在unpickle环境中可用。
The listing first reads in the required class definition files, and then loads and initializes an XJConf facade object.
清单 3首先读入需要的类定义文件,然后加载和初始化XJConffacade对象。
Let's take a look at a simple class definition to which we will add and remove attributes. Here is the initial definition.
让我们看一个简单的类的定义,我们将向其添加和除去一些属性。
Listing 1 shows the class definition and relevant method definitions for the PresenceMonitor Web service implementation class.
清单1展示了PresenceMonitorWeb服务实现类的类定义和相关方法定义。
Note the implements keyword in the class definition where it's declared that this class implements the SensorListener interface.
注意类定义中的implements关键字,其中声明了该类实现Sensor Listener接口。
The searched-for class definition existed when the currently executing class was compiled, but the definition can no longer be found.
当目前执行的类已经编译,但是找不到它的定义时,会存在searched -for类定义。
The other notable line in this test is the class definition, which points to the template class, rather than one that you might create.
这个测试中另一个值得注意的行是这个类定义,它指向这个模板的类,而不是您可能创建的模板。
Finally, you'll see that all the previous listings explicitly load the class definition files, before parsing the XML definitions and data.
最后,您将看到,在解析xml定义和数据之前,上文中的所有清单都可以显式地加载类定义文件。
Before JPA 2.0, this semantic distinction was represented via corresponding class-level annotations in the persistent-class definition.
在JPA 2.0之前,这种语义区分是通过持久化类定义中的对应类级别注释来表示的。
After all the previously pickled instances have been updated and re-pickled, we can remove the _setstate_ method from the class definition.
更新和重新pickle先前进行过pickle的所有实例之后,现在可以从类定义中除去_ setstate _方法。
Or, put differently, you can define methods that aren't checked for correctness until they're incorporated into a trait-using class definition.
或者换句话说,您可以定义出这样的方法,在整合到使用特征的类定义之前,不会检查其正确性。
Taking a dynamic approach, you could create a bean to read the class definition from the stylesheet and then convert it to the proper HTML tags.
您可以采用动态的方式,创建bean来读取样式表中的类定义,然后把它转换成正确的HTML标记。
Clicking on the first triangle next to the comment preceding the class definition deletes the comment, replacing it with an ellipsis, as shown in Figure 3.
单击类定义前面的注释旁边的第一个三角可以删除注释,而用省略号替换它。(参见图3。)
应用推荐