在此之后,我们还将简单讨论一下类的垃圾回收;如果你对此已非常熟悉,则可以跳过这部分内容。
Once we've covered that, we'll briefly touch on garbage collection of classes; so if are comfortable with that, you can skip ahead.
在离开办公室之前,确认每个人都知道你不在的这段时间他们应该完成哪些工作,并且告诉你的员工把邮件分一下类并且把他们归纳成为可以采取的行动。
Before leaving the office, make sure everyone knows what needs to be done while you are gone and ask your staff to sort the mail and condense it to action items while you are away.
尝试一下非小说类和技术类书籍:这些不仅能迅速教会你说话的新方式,还能教会你思考的新方式。
Try nonfiction and technical books: these will rapidly teach you not only new ways to talk, but new ways to think.
他们转向如电视、电脑、互联网、录像带、光盘和音频设备一类的电子媒体,按下按钮就可自娱自乐。
They turn to electronic media such as television, computers, the Internet, videos, CDs and audio equipment, which can provide them with instant self-entertainment at the push of a button.
她犹豫了一下,不知道该将自己归为哪一类。
我们知道所有的对象搜索方法默认条件下都是在辅助类中执行。
We know that all the object finding methods are implemented in the helper classes by default.
默认情况下,这个类装入器是用户创建的任何类装入器的父类。
By default, this class loader is the parent of any class loader created by the user.
除了尚未实现某些程序库以外,这两种方式的主要差别在于静态模式下的类装载并不完全符合JVM行为。
Aside from some libraries that are not yet implemented, the major difference is that class loading in static mode will not exactly match the JVM behavior.
在这种情况下,继承这个类通常是行不通的,因为所添加的方法需要在基类的实例中可用。
Subclassing the class is typically not an option here, since the method needs to be available to instances of the base class itself.
在某些情况下,类中的大多数方法需要携带注释(如版本4中所示)。
In certain situations most of the methods in a class need to carry an annotation (such as the one in Version 4).
在很多情况下,类的相互作用分析足以帮助发现问题,但是您偶尔可能需要进行更深入的对象级别的分析。
In most situations, class interaction analysis (available with the ARM agent) is enough to help find problems, but occasionally you will need to do further profiling at the object level.
有几种方法可以做到在不重新启动应用的情况下更新类,但每种方法都有其问题。
There are several ways to address the problem of updating changed classes within an application without restarting, but all come with different problems.
反序列化器知道自己应该返回什么类,因为大多数情况下它都是为某个特定类定制的。
The deserializer knows what class it should be returning because in most cases it has been tailored for a specific class.
奶牛和人一样,也能在生长激素的作用下分泌类胰岛素生长因子,这种蛋白质被释放到血液里,从而进入到牛奶中。
Cows, like humans, produce insulin-like growth factor in response to growth hormones and release it into the blood, and the protein makes its way into their milk.
有时,要在不影响类的功能、易用性或性能的情况下使类成为线程安全的是很困难的。
Sometimes, it is very difficult to make a class thread-safe without compromising its functionality, ease of use, or performance.
但是映射缺乏一些结构化数据的预期功能:它们没有真实的“类型”(在不添加元数据的情况下),不像类那样,它们不能通过新的行为扩展。
But maps lack some of the features expected of structured data: they have no real "type" (without added metadata) and, unlike classes, they can't be extended with new behavior.
在我结束对类型大小调整的讨论之前,我还希望提一下基类。
Before I conclude the discussion of the sizing of types, I also want to mention base classes.
在各种条件下,创建类时,也许想用比简单地运行静态编码更加动态的方法。
In various common situations, you may want to create classes in more dynamic ways than simply running static code for their creation.
对于本文,我们坚持严肃的立场:我们把在不用元类也能解决问题的情况下使用元类都视为元类滥用。
For this article, we take a ruthless stance: we consider metaclass abuse any usage of a metaclass where you could have solved the same problem equally well without a custom metaclass.
默认情况下,顶级类将生成一个与类名相同名称的文件。
By default, a top-level class is generated into a file with the same name as itself.
涉及到知识产权,手机制造商们多数情况下以类俱乐部的形式合作制定新技术标准:比如说新一代的无线网络标准。
When it comes to intellectual property, mobile-phone firms have mostly operated like a club. They jointly develop new technical standards: for example, for a new generation of wireless networks.
很多情况下,类中包含一个核心数据元素,通过它可以派生或找到类中的其他字段。
From time to time, a class contains a core element of data from which the rest of the class's fields can be derived or retrieved.
涉及到知识产权,手机制造商们多数情况下以类俱乐部的形式合作制定新技术标准:比如说新一代的无线网络标准。
When it comes to intellectual property, mobile-phone firms have mostly operated like a club.They jointly develop new technical standards: for example, for a new generation of wireless networks.
要将事件附加到页面元素或在特定情况下需要添加类时,通常需要这样做。
You're obviously used to doing this when you attach events to things, and for simple things like attaching classes in certain situations.
点一下这个类的名字,你将发现在这个对话框的右边会出现上下箭头。
Click the name of the class and you'll see that up and down arrows appear on the right side of the dialog box.
有必要区分一下两类不同的比赛。
It is necessary to differentiate between two kinds of fights.
默认情况下,类通常是可串行化的。
这种情形下,类木行星的形成就只需要几千年的时间,远在天体物质被星系抛射出去。
In this case, the formation of Jupiter-mass worlds may only take a few thousand years to form, well before the planet-building materials are ejected from the system.
在某些情况下,可以根据类所在的元素进一步限制基于类的规则。
In some cases, you might find it useful to further restrict a class-based rule based on the element to which the class is attached.
在某些情况下,可以根据类所在的元素进一步限制基于类的规则。
In some cases, you might find it useful to further restrict a class-based rule based on the element to which the class is attached.
应用推荐