Parameters are defined by placing a Parameter annotation onto a private field.
参数定义可以通过在私有属性上放置参数标注。
Using a private field and annotating the setter method is considered a best practice.
使用私有字段并注释setter方法被视为最佳做法。
So if you property is named "FirstName", there will be a matching private field called "_firstname".
所以,如果属性名为“FirstName”,那么对应的私有字段名为“_ FirstName”。
This rule is reported when a private field in your code exists but is not used by any code path.
当代码中存在私有字段,但是任何代码路径都未使用它时,将报告此规则。
A property is a member that provides a flexible mechanism to read, write, or compute the value of a private field.
属性是提供一个灵活的机制来读取、写入,或计算私有字段的值的成员。
This can be accomplished by having a private field and assigning the handler as the value before or after attaching to this event.
这可以通过创建一个私有字段并在附加到此事件之前或之后向处理程序赋值来实现。
While the private field requires support from the moral sphere, selfish pursuits always set morality in the position of objective result.
私人领域也要求道德的支持,但是,自利的追求往往把道德置于客观结果的位置上。
As the name suggests, the convert local variable to field refactoring takes a local variable and converts it to a private field of the class.
正如其名称所示,这个ConvertLocalVariabletoField重构能够获取一个本地变量并将这个变量转换为此类的一个私有字段。
In other words, a private method cannot be called from another module, and a private field or property cannot be read or written to from another module.
换句话说,一个私人方法不能被称为从另一个模块,和一个私人字段或属性不能被读取或写入到另一个模块。
The problem is that Posts contains a private field named _count that must be serialized and deserialized to fully hydrate and rehydrate class instances.
问题在于Posts包含一个名为_ count的私有字段,该字段必须进行序列化和反序列化,才能完全冻结和重新冻结类实例。
The Groovy version is much, much smaller because Groovy's default property semantics automatically define a private field with public accessors and mutators.
Groovy版的代码要少很多很多,这是因为 Groovy的默认属性语义用public访问器和存取器自动定义了private域。
After the private field splitting up gradually from public field among the human society, the publicity become an importance aspect of existence of human society.
自从私人领域和公共领域在人类社会逐渐分化开来以后,公共性就成为人类社会得以存在的重要维度。
More research and advances in the searchable cryptography field are necessary before this approach becomes a viable solution for a virtual private storage service.
在可搜索的加密方法成为虚拟的私有存储服务的可行的解决方案之前,在该领域还需要更多的研究和提高。
The topics and responses have a Boolean field to mark them private or public.
主题和响应有一个Boolean字段可将它们标记为私有或公有。
If the user chooses to make the topic or the response private, the user is added to the Readers field.
如果用户选择将主题或响应设为私有,则用户被添加到Readers字段。
If you think Guice's decision to access private methods seems intrusive, wait until you see Listing 10, in which FrogMan USES field injection.
如果您认为Guice访问私有方法不是很好,可以参见清单10,其中FrogMan使用了字段注入。
Eyes for Lies asks that her true identity and occupation remain private (she has received death threats for comments she has made on her blog), but she works in a field unrelated to law enforcement.
EyesforLies要求保密自己的真实身份和职业等私人信息(因为由于她的评论有人在她博客上留言,对她进行死亡恐吓),因为她从事的是一个无法律强制保护措施的领域。
You are an expert in your field and you want deep, focused collaboration on a topic of special interest. (Try creating a public group with invitation-only access or a private group.)
您是一名某领域的专家,并且希望针对某个特殊的主题进行深入的、专门的协作(尝试创建一个只有被邀请的用户才能访问的公共组或一个私有组)。
Since these firms are strong in their field, they should be able to find new owners or partners with deep pockets, be they big pharma firms or private-equity investors.
因为这些公司在其自身的行业里还是很强大的,所以它们将来可以找到新的出资人或者合作伙伴,可能是大型制药公司或者私募投资者。
Between them, public and private insurers now rub shoulders in a field that was once rather lonely.
公立公司与私立公司现在并肩作战在一个曾经过度冷清的领域中。
Rotary is the top private-sector contributor and volunteer arm of the Initiative, having contributed US$600 million and countless volunteer hours in the field since 1985.
扶轮社是这项行动最主要的私营部门捐助者和志愿组织,自1985年以来已捐助6亿美元和不计其数的义工钟点服务。
While I might have gone back to private practice, perhaps in my old firm or at another, I was dedicated to civil rights work, and my first choice was to be in that field.
那时我可能要回去私人开业了,或许回到我的老公司或到其他地方,我献身在民事权利的事业上,并且我的第一首选就是要加入那样的领域。
Sweden is a world leader in the arena of public and private sector environmental reform. Stockholm University has a prominent roll in the field of environmental studies in Sweden.
瑞典在公共及私营部门的环境改造方面是世界领先者。斯德哥尔摩大学在瑞典的环境研究领域有着杰出的贡献。
Field injection harms testability, especially if you mark the fields private.
字段注入会影响可测试性,特别是将字段标记为private时。
Our hope is that people living close to them will like to walk through the field -- especially at night -- under their own, private sky of swarming stars,” said Núñez-Ameni.
我们希望住在附近的人们会喜欢走过田野--特别是在夜里--像是走在他们自己的一片星空下一样。” Núñez-Ameni说道。
visibility shows field and method modifiers: public, protected, private, or default.
visibility展示字段和方法修改语:public、protected、private或default。
Now 71, he told me from his field station 32 years later that “my private insanity was to find all of the species before I die.
时光荏苒,转眼间三十二年过去了,今年已经七十一岁的简森在他的野外科考站里告诉我们说,“我的毕生梦想是在死之前找到所有的蛾子或蝴蝶种类。”
You can mark the setter as private or protected, effectively getting the same effect as having access to the backing field.
你可以标志set为private或protected,和访问支持字段一样有效。
During the transition process, China has become the focus of world attention in the field of economic performance, especially the rebirth and rapid growth of private enterprise.
在这一转型过程中,中国取得了举世瞩目的经济成就,其中,最引人注目的莫过于私营企业的再生与迅速成长。
During the transition process, China has become the focus of world attention in the field of economic performance, especially the rebirth and rapid growth of private enterprise.
在这一转型过程中,中国取得了举世瞩目的经济成就,其中,最引人注目的莫过于私营企业的再生与迅速成长。
应用推荐