The self keyword points to the containing class and is unaware of subclasses.
self关键字指向的是包含类,且不会意识到子类。
As with properties, any attempt to call a private method from outside the containing class causes a fatal error.
与属性一样,尝试从包含类外部调用私有方法将导致致命错误。
Implement the extension method as a static method with at least the same visibility as the containing class.
以至少与包含类别相同的可视性,将扩充方法实作为静态方法。
The data model uses an stereotype to identify attributes that uniquely identify instances of the containing class.
数据模型使用一个规则来识别唯一可以识别类的实例的属性。
This is an implementation detail, and you can simply refer to variables in the containing class as though they were values in the current class.
这里所说的是实现细节了,我们可以直接访问外部类中的变量,就好像这些变量定义在内部类中一样。
The rule class is quite simple, typically containing only a single method.
规则类是十分简单的,典型情况下只包含一个方法。
If any detail of a generated bytecode instruction sequence is wrong, the class containing that bytecode will fail verification when you attempt to load it into a JVM.
如果生成的字节码指令序列的任何细节有误,那么把包含这个字节码的类装入jvm时,检验就会失败。
Listing 4 sets up a standalone service class containing two methods.
清单4创建了一个单独的服务类,它包含两个函数。
Let's take a simple XML document containing the list of employees at an organisation, add it to a GAE project, create a class for the elements, and store them as entities.
让我们以一个简单X ML文档(包含一个组织的员工列表)为例,将它添加到一个GAE项目,为其中的每个元素创建一个类,然后将它们存储为实体。
This figure shows a UML class diagram containing some structural elements that represent an order processing system.
这幅图显示了包含展示顺序进程系统的结构部分的UML类图。
It isn't until the menu choice is actually selected that the corresponding handler class is created, thereby deferring the activation of the plug-in containing the handler class.
直到菜单选项真正被选择时,相应的处理程序类才会被创建,因而延迟了包含此处理器类的插件的激活。
Class name: an element containing the fully qualified class name of the service implementation.
类名:包含服务实现的全限定类名的元素。
A library or service containing functions for performing create, read, update, and delete operations on the class
一个库或者服务,其中包含能够进行基于类的创建、读取、更新和删除操作的方法。
I printed an entire class containing 25,000 lines of code and asked my colleagues to find the bugs.
我将整个含有25000行的代码的类打印了出来,让我的同事来找出里面的错误。
The Folder class supports customized metadata and containing documents.
folder类支持定制的元数据和包含文档。
They are defined simply as a stack name XML element containing a series of interceptor class names.
它们被简单地定义为包含一系列截取程序类名的stacknamexml元素。
Figure 13 shows the reference pane on the left-hand side of the editor window, containing all syntax arranged by library and class.
图13展示了位于编辑窗口左侧的reference面板,包含了按照库和类排列的所有语法。
The class of the object containing the field (in this case, MyObject)
包含字段的对象的类(在本例中为 MyObject)
The transform method can then implement all manner of modifications, and it returns a new byte array containing the bytecode of the modified (or instrumented) class.
然后transform方法实现各种修改,并返回一个包含修改的(或插装的)类的字节码的新字节数组。
The Appointment class containing most of the fluent-interface methods appears in Listing 2.
Appointment类包含清单2中出现的大部分连贯接口方法。
Because Excel files contain binary data, use FileInputStream instead of the FileReader class, which reads files containing only text characters.
由于Excel文件包含二进制数据,所以这里使用FileInputStream而不是filereader类,后者读取只包含文本字符的文件。
The response is an instance of Abdera's ClientResponse class containing details of the response status.
响应是Abdera的clientresponse类的一个实例,包含响应状态的详细信息。
SortItem is a class containing a field name and a sort order pair.
SortItem是一个包含字段名和排序顺序对的类。
The SupportBean class (in Listing 19) is a simple bean containing several properties that are bound to the elements of the example Web form.
SupportBe an类(见清单19)是一个简单的bean,包含一些和示例Web表单的元素绑定的属性。
An editor will open in the Eclipse workbench containing the highlighted error from the appropriate class.
Eclipse工作台将打开一个编辑器,该编辑器包含并显示出了与正确类对比的错误。
You do have to ensure that the code module containing the class definition is available in the unpickling environment.
您必须确保包含类定义的代码模块在unpickle环境中可用。
The DataMapRepository class is a Map containing data maps.
DataMapRepository类是一个包含数据地图的Map。
Here's the trick: Instead of containing the empty class as a member, the pair structure in Boost derives from the empty class.
技巧在于:不包含空类作为成员,Boost中的pair结构是从这个空类中派生出来的。
Recall that running the cheetah compile command on the Skeleton.tmpl file generates Skeleton.py, a package containing a Python class called Skeleton that ACTS just like Skeleton.tmpl.
回忆一下前面的内容,我们通过在Skeleton .tmpl文件上运行cheetahcompile命令生成了Skeleton . py,这是一个包含称作Skeleton的python类的包,这个包的作用类似于Skeleton . tmpl。
The ClassTransformer's single method - transform - is passed the class to be redefined and a byte array containing the class's bytecode.
ClassTransformer的单个方法—transform—被传入要重定义的类和包含类的字节码的字节数组。
应用推荐