因此,您永远都不该为一个不可变类提供一个无参数的构造函数。
Thus, you should never have a no-argument constructor for an immutable class.
按照推理,如果您用SOAPMappingRegistry的无参数构造函数对它进行实例化,将返回一个具有2001名称空间意识的实例。
As a corollary, if you instantiate SOAPMappingRegistry with its no-arg constructor, a 2001 namespace-aware instance is returned.
变量是无类型的,所以对象构造方法可能以清单1这样的代码开头。
Variables are untyped, so the object constructor might begin with code shown in Listing 1.
应用推荐