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认为,在于掌控多个基因和基因平台的特征,即,不同组基因组间的相互作用。
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.
她正在努力寻找一种方法,从那些适应极端干旱天气的稀有野生植物中获取特性,并将它们用于粮食作物。
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.
他们也根据人体特性的感知额定每个人。
All the questions in the VIA survey ask about positive traits, so there is clearly a bias in the way (most) people will respond.
这个测试的所有答案都是问关于积极特性的,所以在人们反应的方式上都存在一个明确的偏见。
But the findings do prove that it isn't necessarily bad to be "bad," and that more research is needed to fully understand the role of subclinical traits in the workplace.
但是研究结果的确证明了拥有消极特质不一定不好,还需要做更多的研究以充分了解这些隐性特质在工作场所中发挥的作用。
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 systems are based on trust and loyalty, and as such, they present a massive opportunity to marketers who want to encourage those traits in their customers.
这个社交网络的基础是信任和忠诚,正因此,对某些希望其顾客拥有这些特质的营销者来说,社交网站给他们提供了大量的机会。
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年历史的古老森林里。
The Sophists were particularly skillful with language, and I suspect this was one of the key traits (in addition to their fat fees) that turned people against them.
诡辩家的语言能力极其出众,我猜,除了丰厚的报酬,他们的这一优点也是众人嫉恨的原因吧。
A Los Angeles clinic says it will soon help couples select both gender and physical traits in a baby when they undergo a form of fertility treatment.
一个位于洛杉矶的诊所说他们很快就可以在对未来的爸爸妈妈们进行产前检查时帮助他们选择孩子的性别和生理特征了。
Paying attention to detail and making sure things are done as correctly as possible are constructive traits in careers such as medicine or engineering.
对细节的关注,对事物苛求正确,例如在医学或工程这样的职业中有其积极的特点。
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.
当然,基因并非决定性的唯一因素,环境也很重要。
Of course, genes aren't the only factor in determining traits -environment matters, too.
当然,基因并非决定性的唯一因素,环境也很重要。
应用推荐