Do not provide a no-argument constructor.
不要提供一个无参数的构造函数。
Thus, you should never have a no-argument constructor for an immutable class.
因此,您永远都不该为一个不可变类提供一个无参数的构造函数。
When a subclass is DE - serialized, the no-argument Constructor of the super class will run.
当一个类是反序列化的,超类的无参数构造函数运行。
If you haven't provided a no-argument one, this is your last chance to add some state to the object!
如果您没有提供一个无参数构造函数的话,那么这是您给对象添加一些状态的最后机会!
In reality, Groovy calls the default no-argument constructor first and then calls the appropriate setter for each field.
事实上,Groovy先调用默认的无实参构造函数,然后调用每个字段的相应setter。
If you're using a framework that requires this for some reason, see if you can satisfy it by providing a private no-argument constructor (which is visible via reflection).
如果您正在使用的框架因为某些原因需要使用这样的构造函数的话,那么您可以了解以下能否通过提供一个私有的无参数构造函数(这是经由反射可见的)来满足这一要求。
For method calls, I tried the same three access variations as for field access, with the added variable of using no-argument methods versus passing and returning a value on the method calls.
在方法调用中,我试用了与字段接入相同的三种接入变量,并增加了使用无参数方法变量,而不是在方法调用中传递和返回一个值。
But our reading of international test scores finds no support for the argument against school athletics.
但是,我们对国际考试成绩进行解读后,发现它并不支持对于学校体育运动的反对论点。
There are some people who will use any kind of argument, no matter how illogical, so long as they can score off an opponent.
有些人为了要驳倒对方;不惜用任何不合逻辑的辩论。
One day later, people who had a resolved argument reported no increase of negative emotions compared with those who avoided an argument.
一天后,与那些避免争辩的人相比,解决问题的人就不会增加负面情绪。
Mr Obama's argument was that “no system of government can or should be imposed upon one nation by any other”.
奥巴马的观点是,“没有那种治国体制可以由一个国家强加给另外一个国家”。
Ghosts, mediums, and miraculous cures by the intercession of saints play no role in his argument, which draws instead on quantum mechanics, neuroscience, and moral philosophy.
鬼魂、灵媒、圣人祈求的灵丹妙药并没有出现在他的论证里,取而代之的是量子力学、神经系统科学和道德哲学。
Josephson also addressed the argument that today's youth are no less honest than their predecessors.
约瑟夫森还提出了论据,即今天的年轻人诚实不输于他们的前辈。
If either country happened to be prominent in current affairs, no argument could make Mr. Houghton think well of it.
无论这两个国家中哪一个在时事中表现突出,他都对它没有好感,任何论证都无法说服他。
In other words, it's no good repeating a weak argument to people who are listening carefully.
换句话说,对仔细听讲的听众而言,重复一个绵弱的观点是无益的。
Woodchips float, because woodchips are made up of wood and wood floats. Is that an argument or no?
木片浮动,因为木片,是由木头做成的,木头能浮动,这是个论点吗?
So, then why don't people understand this concept? Most people want to win an argument no matter what the cost.
为什么人们不懂得这个道理:大多数人不择手段的想赢得争吵。
Nor did the Munich court buy the argument that Mr Demjanjuk had no choice in the matter.
慕尼黑法院也没有采纳德米扬·鲁克在事件中毫无选择权的论据。
Now noticed if that's the way we interpret his argument, harmony works no longer as a counterexample.
注意到如果这是,我们解读他论点的方式,和声就不再一个反例了。
The specification is fixed, so there should be no more argument over how to do things.
规范已得到修订,因此针对问题应如何解决的争论也该平息了。
This input can come either from a file specified as the last command line argument, or from standard input if no file name argument is given.
该输入可以来自作为最后一个命令行参数指定的文件,在没有给出文件名参数时也可以来自标准输入。
Note that the first argument is not an argument at all, as no comma (,) separates the level (KERN_CRIT) from the format string.
注意,第一个参数并不一个真正的参数,因为其中没有用于分隔级别(KERN_CRIT)和格式字符的逗号(,)。
I have no basic argument with the biomedical model, but I believe that, in speaking of the model with consumers, the practitioner must act as a translator.
我没有对生物医学模型基本的判断,但是我相信,对患者说起这个模型,从业者必须充当翻译人。
Listing 19 shows how to execute the script with no argument supplied.
清单19显示在不提供参数的情况下执行这个脚本的情况。
The topics in this book are diverse and often self-contained — for example, there is no central argument that runs from chapter to chapter — so I will briefly describe the contents by chapter below.
本书中讲述的主题变化多样,而且自成一体——例如,从一章到另一章之间没有核心观点。——所以我将简要介绍各章的内容。
'The scales is our judge and as long as the vegetables are sound, there's no argument.
“只要蔬菜是完好的,个头就是评判标准,大家都没有异议。”这个有三个孩子的父亲这样说道。
Stern's comments will meet with no argument from those reporters gathered at the press conference, because those statements are pure and true.
斯特恩的发言将不会遭到任何在场记者的质疑,因为他的陈词正确而且真实。
From an SEO perspective, it's obvious that having a blog on your website with constant fresh content is a good thing; no argument there.
从SEO的角度来看,很明显的是,网站上有博客随时更新内容是件好事;毫无疑问。
From an SEO perspective, it's obvious that having a blog on your website with constant fresh content is a good thing; no argument there.
从SEO的角度来看,很明显的是,网站上有博客随时更新内容是件好事;毫无疑问。
应用推荐