这些类的定义由odf规范指定。
The definition of these classes is specified by the ODF specification.
为了测试,总可以动态地改变类的定义。
For testing purposes, you can always change the definition of the class on the fly. You can open the existing class later.
用以表示函数、操作符和变量类的定义如清单1所示。
Listing 1 shows the definitions of the classes used for representing functions, operators, and variables.
当一个原型可以修改元类的定义的主要影响是
The main aspects in which a stereotype can modify the metaclass definition are
这就等于把下面的代码加入到了类的定义中。
This causes the equivalent of this code to be added to the class.
cs包含了应用程序使用的uml包的类的定义。
CoreClasses.cs contains the class definitions from the UML package used by the application.
如果已存在具有相同名称的类的定义,它将被新的覆盖。
If a class definition with the same name already exists, it will be overwritten with the new one.
我说过,当我们,调用这个类的定义的时候,它会去调用。
When I call this class definition, it calls init, init and I give it an x and a y value.
使得类的定义和其他声明在多个源文件中可见的一种机制。
A mechanism for making class definitions and other declarations available in multiple source files.
每个对象类的定义包含一系列可用于描述类的实例的架构属性。
The definition for each object class contains a list of the schema attributes that can be used to describe instances of the class.
让我们看一个简单的类的定义,我们将向其添加和除去一些属性。
Let's take a look at a simple class definition to which we will add and remove attributes. Here is the initial definition.
我现在可以实施和支持多播委托多,单一的委托类的定义更加容易。
I can now implement and support a multicast delegate much easier in one single delegate class definition.
根据这些类的定义,在程序的运行其间,实例可以动态的进行创建。
From these classes, instances are dynamically created during execution of the program.
通常,该错误由编译器捕获,只有当类的定义发生不相容变化时才发生。
Normally, this error is caught by the compiler; this error can only occur at run time if the definition of a class has incompatibly changed.
清单1展示了一个示例注释声明,后面是将该注释用于某些方法的类的定义。
Listing 1 shows a sample annotation declaration followed by the definition of a class using that annotation on some methods.
假设我们想使用一个具有特定名称的类,但那个类的定义位于多个文件里。
Imagine that you want to use a class of a particular name, but more than one definition for that class exists (presumably these are different definitions).
在类的定义内部可以定义各种变量和方法,等会再来详细学习一下这些内容哈。
You can define variables and methods inside a class definition, but we will get back to that later.
当然,如果一种语言不支持继承就,“类”就没有什么意义。派生类的定义如下所示。
Of course, a language feature would not be worthy of the name 'class' without supporting inheritance. The syntax for a derived class definition looks as follows.
文中给出了在DOOD中类的定义和表示,并以此为基础介绍了利用规则生成派生类。
This paper introduces the definition and denotation of classes in DOOD, then discusses the derived classes created by rules based on them.
首先,确保原来的类的定义没有被更改,以便在unpickle现有实例时可以找到它。
First, leave the original class definition intact so that it can be found when existing instances are unpickled.
例如,在Time1. py里面,类的定义和后面的函数定义就没有啥明显的练习。
For example, in Time1. py there is no obvious connection between the class definition and the function definitions that follow.
在她的早期作品,以饱满的乐队的安排,太令人兴奋了,他们从我的电影音乐剧类的定义。
In her early work, the arrangements with full orchestra were so exciting that they kind of defined musicals from the movies for me.
通常是由于持久化框架在编译期或者运行期修改类的定义,添加某些所需信息以减少持久化实体时的麻烦。
Usually the problem occurs because the persistence frameworks will alter classes during compilation or runtime, to include information they require, to ease the pain related to persisting entities.
类似于泛型类的定义,但是在方法和构造中所定义的类型参数的作用域只能在定义它们的方法和构造中。
This is similar to declaring a generic type, but the type parameter's scope is limited to the method or constructor in which it's declared.
这样的话,Castor的映射系统就会使用class元素中的author类的定义处理作者的属性。
Then, Castor's mapping system USES the definition of the author class, within the class element, to handle the properties of an author.
这个文件可能包含了一些类的定义,包含了一个实现了静态Main方法用来作为您的应用程序的入口。
This file is likely to contain the definition for several classes, including one that implements the static Main method that is used as the entry point for your application.
这个大于的操作符的时候,是到类的定义里去识别,大于是一个比较的方法,那么让我在这里说仔细一点吧。
When I try and evaluate that expression of greater than, is going to go into the class to say greater than is a comp method.
这个大于的操作符的时候,是到类的定义里去识别,大于是一个比较的方法,那么让我在这里说仔细一点吧。
When I try and evaluate that expression of greater than, is going to go into the class to say greater than is a comp method.
应用推荐