Pico programmers rely first on constructors to do injection.
Pico程序员首先依靠构造函数进行注入。
There are a few advantages of Scala’s constraints on constructors.
Scala对构造函数的约束有一些好处。
There is also at least one disadvantage of Scala’s constraints on constructors.
不过,这样也有至少一个缺点。
Like Spring, Pico also supports setter injection, but the emphasis is strongly on constructors.
类似Spring,Pico也支持setter注入,但主要使用构造函数。
In this case, you might lack setter methods to modify field properties and, instead, rely on constructors to set these values.
在这种情况下,您可能会缺少用于修改字段属性的setter方法,相反,您依靠构造器来设置这些值。
You can also write contract tests on classes or aspects, where you can define tests on constructors and invariant conditions on instance fields.
也可以在类或方面上编写合约测试,在这些类或方面中可以在构造函数上定义测试,在实例字段上定义不变条件。
Also, client classes that instantiate our generic class must do so with classes that meet the declared constraint on what constructors exist.
同样,实例化泛型类的客户机类必须使用满足对构造函数存在所声明的约束的类来这样做。
Include additional annotations on type parameters telling us which constructors those instantiations must contain.
包含额外的类型参数注释,告知我们这些实例化必须包含哪些构造函数。
These annotations tell us exactly what constructors we can reliably call on a type parameter.
这些注释确切地告知我们针对类型参数,我们可以可靠地调用什么样的构造函数。
A new kind of declare statement for declaring annotations on types, methods, constructors, and fields has been added.
AspectJ 5中还添加了一种新的声明语句,用来在类型、方法、构造函数和字段上声明注释。
It also requires a query language to provide constructors that are capable of creating complex nested structures on the fly — a facility that is not needed in a relational language.
这也需要一种查询语言来提供可动态创建复杂嵌套结构的构造函数,而该工具在关系语言中是不需要的。
Implementations are not found via factories or constructors; instead, they are queried dynamically from a registry or injected on demand.
实现不通过工厂或构造方法获得,而是从注册表里动态查询,或是按需注入。
Find the constructors drop-down list in the parameters area on the right side of the page.
在页面右侧的参数区域找到构造函数下拉列表。
Thus, when a type parameter t is used as the superclass of a generic class, the annotation on t tells us exactly what super-constructors we can call.
因此,当类型参数t用作泛型类的超类时,T的注释确切地告知我们可以调用哪些超级构造函数。
It can also use constructors or factory methods, but most examples you'll see — and the Spring code base itself — focus on setters.
它也使用构造函数和工厂方法,但您会看到的大多数示例和Spring代码基本身还是使用setter。
Changing constructors will only have effect on objects created after the update.
更改过的构造函数只对更新后才创建的对象生效。
Two constructors are defined on the class: one taking an int and one taking a pair of ints.
类中定义了两个构造函数:一个构造函数带有一个int参数,另一个带有两个int参数。
Delegating constructors: Read the white paper on delegating constructors.
Delegatingconstructors:阅读关于委托构造器的白皮书。
Calling super constructors works just as with plain Ruby code, which means that the frame title can be set by calling super (" JRuby Object Browser ") on the first line of the initialize-method.
调用父类的构造方法就和普通的Ruby代码一样,这意味着我们可以在initialize方法的第一行通过调用super (“JRubyObjectBrowser ”)来设定窗口的标题。
Based on the analysis of the destruction mechanism of the durability of the concrete structure provide several effective measures for reference to THD designers and constructors.
针对混凝土结构耐久性的破坏机理的分析,提出了控制混凝土结构耐久性的有效措施,可供设计和施工人员参考。
Renault are now second in the constructors' championsh ip to Ferrari. Would you say the team is on the back foot?
雷诺现在位于法拉利之后排在车队积分榜上第二位。可以说车队是在后退吗?
Meanwhile, because the steel trusses are relatively high, it is mandatory that constructors carry out the work on special-purposed mobile platforms while fixing the upper booms.
同时,由于钢桁架较高,在完成其上弦拼接时,施工人员必须在专用的移动平台上进行作业。
We must do all we can to hang on to third place in the Constructors' championship.
我们必须尽力保住车队积分榜的第三名。
Therefore, you should not rely on class constructors to initialize thread-relative static fields.
因此,您不应依赖于类构造函数来初始化线程相关的静态字段。
On this basis, illustrates the budget system of airfield area of Minsk International Airport, in order to provide technical support for Chinese constructors to explore Belarus construction market.
在此基础上,以明斯克国际机场飞行区工程为实例进行预算体系说明,旨在为中国建筑企业开拓白俄罗斯市场提供技术支持。
Choose between these two constructors based on whether you have supporting certificates.
基于是否拥有支持证书在这两个构造函数中进行选择。
If those other constructors access any members or call member functions on this, the result will be undefined.
如果其他建构函式在此存取任何成员或呼叫成员函式,结果会是未定义的。
A link demand performed on a static class constructor does not protect the constructor because static constructors are called by the system, outside the application's code execution path.
对静态类构造函数执行的链接要求不会保护该构造函数,因为静态构造函数是由系统调用的,它们并不包括在应用程序的代码执行路径中。
A link demand performed on a static class constructor does not protect the constructor because static constructors are called by the system, outside the application's code execution path.
对静态类构造函数执行的链接要求不会保护该构造函数,因为静态构造函数是由系统调用的,它们并不包括在应用程序的代码执行路径中。
应用推荐