You will have a compile-time error something like: "The nested type Person cannot hide an enclosing type".
否则将会导致一个编译时间错误,如 “该嵌套类型Person无法隐藏封闭类型”。
Table 1 shows how properties of the type Person defined in Listing 1 can be set and retrieved using static and dynamic data APIs.
表1显示了如何使用静态和动态数据API设置和检索清单1中定义的Person类型的属性。
She founded her company, which serves clients that include Swarovski Group, at 16. 'I'm not a Harvard M.B.A.-type person, ' Ms. Wells says.
她16岁创建自己的公司,客户包括施华洛世奇集团(Swarovski Group)。韦尔斯说,我不是哈佛MBA那种类型的人。
Fortunately, Rhino provides another way to create objects, using the constructor function. For example, the following function might serve as a constructor function for an object of type person.
幸运的是,Rhino提供了另外一种创建对象的方法:使用构造函数(constructorfunction)。
It takes a certain type of person who will bang his head against the wall because you believe you'll find the solution.
你要是认为你会找到解决方法,肯定有人会撞墙的。
He was not the type of person offering to pay for refinishing my car, which had by now many scratch marks.
他不是那种愿意为我的汽车补漆付钱的人,我的汽车现在已经有很多刮痕了。
People just can't be happy if they are living a life that is contrary to the type of person they are.
如果人们的生活与他们真实的自我背道而驰,那么他们是不可能开心的。
Each person was asked to write by hand and type on a keyboard while wearing a hood with over 250 electrodes.
每个人都被要求用手写字和在键盘上打字,同时戴上带有250多个电极的头罩。
If you define a complex type describing a person, there will be many elements in the type, for the name, date of birth, address, occupation, and so on.
如果您定义一个用来描述人的复杂类型,那么类型中会有很多元素,比如针对姓名、出生日期、住址、职业等的元素。
If you're serious about the candidate after you've conducted the interview, check those references carefully to determine just what type of person you're dealing with.
如果在面试结束后你对该候选人感兴趣,可以仔细查看这些参考资料来确定这个人到底属于什么类型。
Furthermore, creating art also helps you develop into the type of person that you want to be.
不仅如此,创造艺术还可以帮你成长为你想成为的那种人。
SHERRY TURKLE, the psychologist at MIT who studies the nexus between people and gadgets, believes that the tools of mobility are leading to "the emergence of a new type of person".
麻省理工学院研究“人与工具”相互关系的心理学家雪莉·特克尔认为工具的移动性将给人带来一种新的紧急情况。
And that type of person is so rare as a CEO. Which is part of the mystique and magic of Steve Jobs.
这种类型的首席执行官可谓是凤毛麟角,然而这种特质也正是史蒂夫·乔布斯的神奇和奥秘之处。
If it turns out you're not the type of person who's comfortable being the boss, you've risked little and still have the security of your job.
如果事实证明你不是做老板的合适人选,你也只承担了少许的风险并且仍然安然于你的工作。
Before administering treatment to stroke patients, a doctor must figure out what type of stroke that person has had, because using the wrong drug can be fatal.
在对中风病人进行治疗前,医师必须了解病人所患的中风类型,否则,错误用药可能致命。
But it takes a certain type of person to live on the island [ Galveston] and this is our home," she said.
不过,住在岛上的人,一般都是挺有个性的;这是我们的家啊!
But Prof Qureshi added that the type of person who owned a cat was usually already fairly stress-free and at low risk of heart disease.
但库勒什教授说,喜欢养猫的人往往自身就没什么压力,患心脏病的几率也较小。
As boring as it may seem to you (especially if you're a heavily analytical type of person) you've got to work on these aesthetic issues.
尽管这看上去有些乏味(如果您是一位分析型的人就更是如此了),但您还是必须要处理美学方面的这些问题。
While the end goal of my evolving example is a data management system for storing employee data, I've really focused on developing my Person type.
我将演示的这个例子的最终目标是一个用于存储雇员数据的数据管理系统,我一直致力于开发我的Person类型。
If you hire subordinates in your department, or if you need a nanny or other help at home, you will come to a conclusion about the type of person you need to hire.
如果你聘用部门下属,或是需要保姆,你要总结需要聘用的人的类型。
Let's start with a basic premise: I have a db4o database in which I have a type (Person) that I want to query based on a set of fields that have certain values in them.
让我们从一个基本前提开始:我具有一个数据库,其中包含我希望根据一组具有特定值的字段查询的类型(Person)。
The Person type has been defined to have two properties with the names "name" and "age."
定义的Person类型有两个属性,名称分别为“name”和“age”。
So far in this series, I've used the Person type to reveal almost all of the fundamentals of working with db4o.
在本系列文章中,我使用Person类型来演示db4o的所有基本原理。
But now that we have a named type for Person, we could further improve the schema in listing 5 by re-using the Person type within AccountOwner.
但现在我们拥有了一个Person命名类型,我们就可以在AccountOwner中重用Person类型以进一步改进清单5中的架构。
According to the schema, the Person complex type must have the direct child elements name of XSD: string type and friend of Person type, and should not have any other types and attributes.
根据脚本,复杂类型Person必须有一个xsd:string类型名字的直接子元素,和一个Person类型的友元,并且不能有其它类型和属性。
A member is basically a source record of a particular member type (e.g., person, claim, organization, etc.).
一个成员实际上就是某个成员类型的一个源记录(比如,个人、claim、组织等)。
I don't know anyone who is in the position to judge another type of person who is having to make those type of decisions.
我不认识那些对别人的决定随意指摘的人。
After that miserable experience, I was convinced that I was not the type of person who should ever wander far from home.
在那次悲惨的经历之后,我深信自己绝对不是那种可以离家很远的人。
After that miserable experience, I was convinced that I was not the type of person who should ever wander far from home.
在那次悲惨的经历之后,我深信自己绝对不是那种可以离家很远的人。
应用推荐