另外,这个方法可以通过定制的逻辑检查是否可以使用来自输入对象的数据预填充输出对象。
Moreover, this method might have some custom logic to see if data from the input object can be used to pre-populate the output object.
因为所有的辅助构造函数最终都会调用主构造函数,它主体中进行的逻辑检查和其它初始化工作会在所有实例被创建的时候执行。
Because all auxiliary constructors eventually invoke the primary constructor, logic checks and other initializations done in the body will be performed consistently for all instances created.
你需要在继续进行每一个程序的逻辑之前检查实参。
You need to check the arguments before proceeding with the logic of each method.
应用推荐