就常见的字类名称,本文对它们的渊源流变进行了梳理,从而勾勒出它们在不同时期的大致状况。
Concerning the common names of words, this paper mainly combs out their sources and changes and then gives a brief account of their general situation in different periods.
接下来,您需要向类中添加关键字,因为您的扩展只能处理定义了关键字的类。
Next, you need to add a keyword to the class, because your extension will work only on a class that has a keyword defined.
类可以用关键字class来声明。
PHPV5.3添加了关键字static以允许针对当前类进行引用。
PHP V5.3 has added the keyword static to allow you to make a reference against the current class.
我们再一次用一个字来表示它所在的等价类,并用等号表示等价。
Once again we use a word to denote its equivalence class and write equality to express equivalence.
如果想要让某个公共类的方法仅限于由同一个类的成员访问,该采用哪一个访问修饰字实现这一目的呢?
You want to limit access to a method of a public class to member of the same class. Which access modifier accomlishes this objective?
第一个也是最重要的新特性是针对类的方法和实例变量的访问保护 ——public、protected 和 private关键字。
The first and most important addition was access protection for methods and instance variables on classes -- the public, protected, and private keywords.
用const关键字声明类常量。
可以用class关键字创建类。
methods关键字允许按照类、方法名或这两者选择要跟踪的方法。
The methods keyword allows you to select method trace by class, method name, or both.
self关键字指向的是包含类,且不会意识到子类。
The self keyword points to the containing class and is unaware of subclasses.
请注意,现在,在类定义中,关键字参数被允许出现在基类列表之后 —通常来讲,即class Foo(*bases, **kwds):pass。
Notice that now in a class definition, keyword arguments are allowed after the list of base classes—generally speaking, class Foo(*bases, **kwds): pass.
类用implements关键字实现接口,如清单9所示。
A class implements an interface with the implements keyword, as shown in Listing 9.
可能并不需要30兆字节大小的类库、由一组本体专家(ontologists)来设计对象模型,或者依赖15个其他软件包。
And you probably don't require a 30-megabyte class library, a team of ontologists to design the object model, and dependencies on 15 other packages either.
这些类将成为在类声明上使用static关键字的备选。
These classes will be candidates for using the static keyword on the class declaration.
这个实用程序类可以包含针对所有这类关键字或函数的函数。
This utility class can have functions for all such keywords or functions.
还有使用ACE 实现IPC的其他方法,比如共享内存或UNIX 风格的套接字寻址(ACE_LSOCK*组中的类)。
There are several other ways of initiating IPC using ACE, like shared memory or UNIX-style socket addressing (the ACE_LSOCK* group of classes), which this article does not address.
基本上,编译器会用所包含类的名称替换self关键字。
Essentially, the compiler replaces the self keyword with the enclosing class's name. It is almost like the following line.
在代码块中,delegate关键字指向您将要向其中添加方法的类的实例。
Within the code block, the delegate keyword refers to the instance of the class you are adding methods to.
在当前的beta版本中,VisualBasic不支持类声明中的Shared关键字。
In the current beta, Visual Basic does not support the Shared keyword on a class declaration.
除了trait关键字,Subject看起来就像一个普通的类。
Except for the trait keyword, Subject looks like a normal class.
当这个类被用static 关键字声明并且在应用程序的整个生存期中存在时尤其是这样。
This is particularly true if the class has been declared static and exists for the life of the application.
代码补全,可以补全包,类,属性,成员变量,变量,方法,关键字,甚至对于Swinguibuilder有特殊的支持。
Code completion for packages, classes, properties, fields, variables, methods, keywords, and even specific support for the Swing UI builder.
类常量始终为public,所以不能使用可见度关键字。
Class constants are always public, so you can't use the visibility keywords.
socket类提供了以任何格式对服务器套接字读写二进制数据的方法。
The socket class provides a means to read and write binary data to server sockets in any format.
该转换还提供了一个选项来为类类型的模板参数生成替换class 的关键字。
The transformation also provides an option to generate the keyword in place of class for template parameters of type class.
该转换还提供了一个选项来为类类型的模板参数生成替换class 的关键字。
The transformation also provides an option to generate the keyword in place of class for template parameters of type class.
应用推荐