那些半是白人半是黑人或半是白人半是亚裔的,都典型地标识自己归属他们父母中少数种族那一类。 然而,当混血中只有四分之一亚裔血统或四分之一黑人血统时,结果却出现了一些分歧,一滴血法则被更频繁地适用于四分之一黑人血统的目标图。
People who were just one-quarter Asian or one-quarter black, for example, were overwhelmingly assigned to the minority group, but this happened somewhat less frequently for the Asians.
许多人所提倡的一条经验法则是,类的代码行超过1,000行就可以说该类太长了。
A rule of thumb advocated by many is that a class with more than 1,000 lines of code is too big.
图 2 中的第二类方法则操纵元素中的属性。
The second class of method in Figure 2 comprises methods that manipulate attributes within elements.
应用推荐