• Class constructors should be lazy.

    构造函数应该延迟的。

    youdao

  • YUI Profiler allows you to register functions, class constructors, and objects to be measured.

    YUIProfiler可以注册测量的函数构造函数对象

    youdao

  • Constructor injection in Spring lets you inject your dependencies through class constructors.

    Spring中的构造函数注入允许通过构造函数注入依赖关系。

    youdao

  • By the same token, it makes little sense to "initialize" it in any of the class constructors.

    由于同样原因毫无意义初始化”,任何构造函数。

    youdao

  • Therefore, you should not rely on class constructors to initialize thread-relative static fields.

    因此依赖构造函数初始化线程相关静态字段

    youdao

  • This constructor is called by derived-class constructors to initialize the base class and is not intended for use directly from your code.

    构造函数派生类构造函数调用初始适合直接在代码中使用

    youdao

  • The primary constructor in a derived class must invoke one of the parent class constructors, either the primary constructor or an auxiliary constructor.

    子类构造函数必须调用一个构造函数,无论是主构造函数或者辅助构造函数。

    youdao

  • Also, client classes that instantiate our generic class must do so with classes that meet the declared constraint on what constructors exist.

    同样实例化客户机必须使用满足构造函数存在所声明约束的类来这样

    youdao

  • The rest of the class is just some basic constructors.

    剩余部分就是一些基本构造器

    youdao

  • It also includes details of the constructors, fields, and methods defined by the class.

    包括该类定义构造函数字段方法详细信息

    youdao

  • Reflection is the runtime discovery of information, such as methods, fields, and constructors, about a given class or interface.

    反射运行时发现关于给定接口信息方法字段构造函数

    youdao

  • The Class reflection calls to access method information are very similar to those used for constructors and fields.

    获得方法信息Class反射调用用于构造函数字段的调用非常类似

    youdao

  • The Class reflection calls to access field information are similar to those used to access constructors, with a field name used in place of an array of parameter types.

    获得字段信息Class反射调用不同于那些用于接入构造函数的调用,参数类型数组使用字段

    youdao

  • The PdfTextVerificationPoint class has two constructors, as shown in Listing 3.

    PdfTextVerificationPoint拥有两个构造器代码清单3

    youdao

  • Declaring all these constructors in each class could get tedious after a while, but we explored techniques in Chapter 4, Traits that can eliminate repetition.

    所有声明这些构造函数可能乏味的,但是我们《第4- Traits》中探索技巧可以帮助我们减少这样的重复。

    youdao

  • This class is just a dummy class I use to reinforce the point that RMock is necessary for mocking classes in which constructors receive object parameters.

    此类只是使用虚构,用于强化一个要点:要模拟构造函数接收对象参数的必要使用RMock

    youdao

  • If you want to declare a "real" (that is, useful) Dojo class, it's important to understand constructors.

    如果希望声明一个真正的”(有用的)dojo那么一定理解构造函数

    youdao

  • Notice the order of invocation of the class and trait constructors.

    注意trait构造函数调用顺序

    youdao

  • With the original version of the Motorcycle class, use the Source menu to generate a few constructors, like those shown in Listing 6.

    在 Motorcycle原始版本使用Source菜单生成几个构造函数清单6 中所

    youdao

  • That's just the start for CtClass, though, which also defines methods for adding new fields, methods, and constructors to the class, and for altering the class name, superclass, and interfaces.

    不过只是CtClass的部分内容,定义了中添加字段方法构造函数、以及改变类、父类接口方法。

    youdao

  • The Message class implements two constructors, as shown in Listing 7.

    message实现两个构造器如清单7

    youdao

  • Open up your newly created class, and change its constructors to public type.

    打开生成,将它的构造函数修改public类型

    youdao

  • For instance, when I create a new class, I no longer spend any time writing setters and getters (accessors). I don't write most of the constructors.

    例如创建不再时间编写settergetter(访问器),也不用编写大部分构造器

    youdao

  • Not all components require all the values in this class, so it provides multiple constructors that implement optional arguments.

    并非所有组件需要这个所有因此提供了实现可选参数的多个构造器。

    youdao

  • Then, inside the generic class definition, the only constructors that could be called are those declared in the bound.

    因而,在泛型定义内部唯一调用构造函数那些在界限中声明的构造函数。

    youdao

  • But you cannot use a type parameter to access a constructor because, at compile time, you don't know what class is being constructed and therefore what constructors are available.

    但是不能使用类型参数访问构造函数,因为编译时候知道构造什么因此就不知道使用什么构造函数。

    youdao

  • For classes with few constructor arguments or if you are creating many objects of the same class, this is viable but soon becomes untidy for classes whose constructors have lots of arguments.

    对于带有少数几个构造方法参数或者如果创建同一个多个方法可行的,但是对于构造方法具有大量参数的类来说,很快就会变得杂乱无章

    youdao

  • 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注释确切地告知我们可以调用哪些超级构造函数。

    youdao

  • Whenever you create this kind of utility class, it's important to create good constructors, so they can be created and used in just one line.

    无论什么时候创建这种功能重要是创建好的构造器这样它们仅仅创建使用

    youdao

  • Because Timer is a class rather than an interface and the threads are actually spun off in that class's constructors, an application server cannot modify this behavior.

    因为Timer不是接口而且线程实际构造函数中产生的,所以应用服务器不能修改这种行为。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定