当我们查询抽象类时,事情变得有些复杂。
Things get a little trickier when we query an abstract class.
在一个静态初始化块中,在加载类时执行。
In a static initializer block, which executes when the class is loaded.
在创建新存储类时,可指定本地和远程目标。
In creating a new storage class, both local and remote destination can be specified.
这里请注意类名,使用类时需要知道该名称。
Note here the name of the class, you'll need it for when you begin using it.
Ruby通常在加载类时使用宏来为类添加功能。
Ruby often USES macros to add capabilities to each class as it's loaded.
这样,新创建域类时它们就有适当的字段和事件闭包。
That way every new domain class created already has the fields and event closures in place.
比如,在向图中增加类时,它可以自动地画出这些关系。
For example, when adding a class to a diagram, it can draw all these relationships automatically.
一个是当修改类时,必须修改它的表和它所有子类的表。
One is that when you modify a class you have to modify its table and the table of any of its subclasses.
当XML标记对应于一个类时,标记名就直接取自类名。
When an XML tag corresponds to a class, the tag name is taken directly from the class name.
比如,假设在记录这个lure类时,您并不关心颜色。
Suppose, for example, that you don't care about the color when logging the Lure class.
编译器生成一些代码,用于在没有加载类时加载并解析类。
The compiler generates code that causes the class to be loaded and resolved, if it has not yet been loaded.
在创建类时将自动生成buddynoteview构造器。
The BuddyNoteView constructor was automatically generated when the class was created.
在选择对象类时,需要提供具体对象类中包含的所有必需属性。
When you select an object class, you need to supply all the mandatory attributes included in the particular object class.
没错,人们在对女人的外貌进行分门别类时极有可能居心叵测。
Yes, people can be vicious in their categorization of women’s looks.
您启动类时,构造函数会加载您的Facebook插件。
When you initiate the class, the constructor loads your Facebook plug-in.
在修复bug或优化类时,非常容易破坏所有已有串行化对象。
It's particularly easy to break all existing serialized objects when fixing a bug or optimizing a class.
图5演示了代码基中有太多较大的类时,or b看起来的样子。
Figure 5 demonstrates what the orb looks like when there are too many large classes in the code base.
当mixin被明确表述为泛型类时,意外覆盖的问题特别讨厌。
When mixins are formulated as generic classes, the problem of accidental overrides is particularly nasty.
当您不知道页面上有几个类时,或这些类开始重复时,会发生什么呢?
What happens when you aren't sure how many classes are on the page, or they start to overlap themselves?
JVM在装载类时记录这个签名信息,并在运行时通过反射使它可用。
The JVM records this signature information when loading a class and makes it available at run time using reflection.
当消息的源和目标为对象或类时,标签是响应消息时所调用方法的签名。
When the source and target of a message is an object or class, the label is the signature of the method invoked in response to the message.
要将事件附加到页面元素或在特定情况下需要添加类时,通常需要这样做。
You're obviously used to doing this when you attach events to things, and for simple things like attaching classes in certain situations.
permit方法有多种重载形式(正如我们了解acl类时所讨论的)。
The permit method has a variety of overloaded forms (as we'll discuss when we look at the ACL class).
在各种条件下,创建类时,也许想用比简单地运行静态编码更加动态的方法。
In various common situations, you may want to create classes in more dynamic ways than simply running static code for their creation.
幸运的是,模拟J VM在运行应用程序的主类时所做的工作是相当容易的。
Fortunately, it's pretty easy to emulate the work done by the JVM in running the main class of your application.
当使用 1.4JVM运行修改后的类时,输出与清单2中的相同。
When the modified classes are run using a 1.4 JVM, the output is the same as in Listing 2.
您开发一个服务端点类时,您必须确保这个端点不维护任何属于客户机的状态。
As you develop a service endpoint class, you must ensure that this endpoint does not maintain any state pertaining to a client.
第二类问题发生在找到了您正试图使用的类,但没有找到它所导入的某个类时。
The second problem occurs when the class you are trying to use is found, but one of the classes it imports is not found.
知道页面上的所有ID和类时,编写jQuery代码是非常简单的。
Writing jQuery code when you know every ID and class on the page can be very straightforward and easy.
每当引用源代码文件中还不包含的类时,调用 __autoload函数。
The PHP magic method __autoload function is called whenever a class is referenced that has not yet been included in the source file.
应用推荐