However, in Scala we can even mix-in traits at the same time we create instances.
不过,在Scala你甚至可以在我们创建实例的时候混合traits。
Avoid concrete fields in traits that can't be initialized to suitable default values.
在trait里避免不能用合适的默认值初始化的具体字段。
But the future, argues Giles Oldroyd of the John Innes Centre, lies in traits controlled by multiple genes and genetic "pathways", that is, interactions between groups of genes.
但是在未来,JohnInnes中心的Giles Oldroyd认为,在于掌控多个基因和基因平台的特征,即,不同组基因组间的相互作用。
One could mention many lovable traits in Smee.
斯迈身上可以列举出很多可爱的特质。
She is hard at work finding a way to take traits from rare wild plants that adapt to extreme dry weather and use them in food crops.
她正在努力寻找一种方法,从那些适应极端干旱天气的稀有野生植物中获取特性,并将它们用于粮食作物。
The study found that some alcoholics had clear personality traits showing up early in childhood.
这项研究发现一些酗酒者早在孩童时就表现出明显的个性特征。
Psychologists have long held that a person's character cannot undergo a transformation in any meaningful way and that the key traits of personality are determined at a very young age.
心理学家长期以来一直认为,一个人的性格不可能以任何有意义的方式发生转变,性格的关键特征在很小的时候就已经决定了。
Four traits stood out for those that achieved their goals, the researchers report in Public Understanding of Science.
研究人员在《公众对科学的理解》杂志上发表报道称,那些实现了目标的人有四个显著特征。
His ideas forced a reexamination of the early leadership paradigm, which he observed centered on traits found in the character ethic and the personality ethic.
他的观点迫使人们重新审视早期的领导范式,他观察到这种范式集中于在性格伦理和人格伦理中发现的特征。
She is hard at work finding a way to take traits from rare wild plants that adapt to extremely dry weather and use them in food crops.
她正在努力寻找一种方法,从适应极端干旱天气的珍稀野生植物中提取性状,并将其用于粮食作物。
The paper mainly described Anti-transpirant traits in drought resistance and water-saving technology.
本文主要对化学抗旱节水技术中的抑制蒸腾剂的概况进行阐述。
It was a silent mutation and was not associated with the traits of milk yield in buffalo.
这是一个无声突变,与水牛产奶量无关。
They also rated each in terms of perceived personality traits.
他们也根据人体特性的感知额定每个人。
These breeders socialize their puppies early on, breed in good traits and breed out bad ones and they can show you your puppies' parents and give you their history.
这些繁育员在早期和他们的小狗们交流,繁育好的特质,在繁育中消除不良特质,他们可以给你展示你小狗的父母,告诉你他们的历史。
These genetic imprints can short-circuit evolution and pass along new traits in a single generation.
基因标记会在短时间内将新特性传递给下一代。
The development process in use in open source projects in the Eclipse organisation has certain family traits in common with agile methods.
Eclipse机构源代码项目中使用的开发过程,与灵活方法一样,有着特定的家族特性。
We've seen many examples of this already, as in the ButtonWithCallbacks example we used in Chapter 4, Traits.
我们已经看到过很多例子了,比如我们在《第4章- Traits》中使用的ButtonWithCallbacks例子。
We’ll revisit these questions in the section called “Overriding Members of Classes and Traits” in Chapter 6, Advanced Object-Oriented Programming In Scala.
我们会在《第6章- Scala高级面向对象编程》的”重写类和Traits 的成员“重温这个问题。
Traits and behavioral reuse in scala.
Scala中的特征和行为重用。
But how were cane toads gifted with those traits in the first place?
但是甘蔗蟾蜍究竟是如何获得那些特性的?
They analysed common traits in these habitats and found that they were mostly located in forests that were at least 100 years old.
根据对大熊猫栖息地的共同特征的分析,研究发现它们都位于不少于100年历史的古老森林里。
Fear, anxiety, and greed are common traits in everyone.
害怕,紧张和贪婪是每个人的特征。
The skills, talents, and traits involved in project management are very different from those involved in product management.
项目管理涉及的手段、才能和品质与产品管理所涉及的差别很大。
Self-discipline, or what is more commonly called willpower, is an important component in the traits that are required to achieve long term goals such as hard work, determination, and perseverance.
自律,又常称意志力,是在实现目标的艰辛路途上不可或缺的品质,其他还需要的品质有努力,决心和毅力。
Of course, genes aren't the only factor in determining traits -environment matters, too.
当然,基因并非决定性的唯一因素,环境也很重要。
There are a number of enthusiasts who believe firmly in the common traits observed in people of the same sun sign and the compatibility quotient between the various signs.
有相当一部分的星座爱好者坚信这样的共性,这些共性是从相同星座和不同星座的和谐系数中观察所得。
There are a number of enthusiasts who believe firmly in the common traits observed in people of the same sun sign and the compatibility quotient between the various signs.
有相当一部分的星座爱好者坚信这样的共性,这些共性是从相同星座和不同星座的和谐系数中观察所得。
应用推荐