• Initialize Static Class Members with Static Constructors.

    使用静态构造器初始化静态成员

    youdao

  • With singletons implemented as single instances instead of static class members, you can initialize the singleton lazily, creating it only when it is first used.

    由于单例对象作为实例存在而不是静态成员,所以能够惰性初始例对象,即需要在第一次用时候去创建它。

    youdao

  • However, you can define both static and dynamic searches for the same object class if you have a hybrid group with both static and dynamic members.

    不过如果包含静态成员动态成员的混合可以同一对象同时定义静态搜索和动态搜索。

    youdao

  • You can then store these Settings in static members of the class, making the value available to subsequent messages.

    然后可以这些设置保存静态成员中,以便后续的消息可以使用

    youdao

  • Support for importing constants: This facility allows static methods and fields to be imported, avoiding the need to use fully qualified class names when accessing static members.

    支持导入常量这个特性使静态方法字段能够导入这样访问静态成员时就不必使用完全限定

    youdao

  • Static join points allow aspects to define new members on a class.

    静态连接点允许方面定义成员

    youdao

  • PHP V5.3 has added several features to enhance the support for static members and methods within a class.

    PHPV5.3提供一些特性增强静态成员方法支持

    youdao

  • Class members of this kind are known as static.

    这种成员叫做静态成员。

    youdao

  • If a class contains only static members, remember to mark the class as static or seal the class (NotInheritable) and give the class a private constructor to avoid instance creation.

    如果包含静态成员则要记得将该类标记静态,或者密封该类(NotInheritable),并且还要该类提供一个私有构造函数避免实例创建

    youdao

  • You also cannot derive from Static1, or add any non-static members to the class.

    不能Static1派生,或者该类添加任何非静态成员

    youdao

  • The following utility methods are public static members of the com.ibm.wac.AccessibleUtils class.

    下列实用程序方法com .ibm . wac . AccessibleUtils类publicstatic成员

    youdao

  • Is it poor design to declare a class abstract because it only has static members?

    糟糕设计声明一个抽象因为只有静态成员?。

    youdao

  • Also, Scala does not support "static" or class-level members of types, since they are not associated with an actual instance.

    另外Scala支持static(静态)或者class - levelmembers(级别成员)类型,因为它们没有一个实例(instance)关联

    youdao

  • Static members exists with the defining Class not with any object.

    静态成员定义存在任何对象

    youdao

  • Static initializers and static constructors provide the cleanest, clearest way to initialize static members of your class.

    静态初始化器静态构造函数提供洁净最间接方式初始化类的静态成员

    youdao

  • Therefore, they should be declared as static members of the class.

    因此应该它们声明此类静态成员

    youdao

  • Note though, at the expense of repeating myself, that static members are associated with the Class, not the object.

    需要注意重复自己费用静态成员关联对象

    youdao

  • To demonstrate static members, consider a class that represents a company employee.

    为了说明静态成员请看一个表示公司雇员

    youdao

  • Because there is no instance variable, you access the members of a static class by using the class name itself.

    由于没有执行个体变数您要使用类别名称本身存取静态类别成员

    youdao

  • When would you use a class with static members and when would you use a Singleton class?

    什么时候使用带有静态成员,什么时候使用例?

    youdao

  • Declaring class members or methods as static makes them accessible without needing an instantiation of the class.

    声明静态成员或者静态方法可以这些类成员或者方法在实例化的情况下直接被访问

    youdao

  • A static constructor is called automatically to initialize the class before the first instance is created or any static members are referenced.

    建立第一执行个体参考任何静态成员之前,就会自动呼叫静态建构函初始类别

    youdao

  • Use P/Invoke to wrap the API functions, constants, and structure definitions as static members of a managed class.

    使用P /调用API函数常量结构定义静态成员管理

    youdao

  • If the design of a class suggests that there should be instance members, the class should not be marked static.

    如果某个设计实例成员则该类标记为静态的。

    youdao

  • Static members must be initialized in a definition outside the class declaration.

    静态成员必须声明定义进行初始化

    youdao

  • You can only access static members with a reference to the class rather than a reference to an instance.

    只能类别参考不是执行个体的参考存取静态成员

    youdao

  • Constants defined within modules are imported as public constant static members of a class with the same name as the original module.

    定义常数汇入做为原来组具有同样名称之类别的公用常数静态成员

    youdao

  • It is more typical to declare a non-static class with some static members, than to declare an entire class as static.

    比起整个类别宣告静态,一些静态成员宣告非静态类别典型的方法。

    youdao

  • The advantage of using a static class is that the compiler can check to make sure that no instance members are accidentally added.

    使用静态类别好处编译进行检查确定不会不小心情况加入执行个体成员

    youdao

  • The advantage of using a static class is that the compiler can check to make sure that no instance members are accidentally added.

    使用静态类别好处编译进行检查确定不会不小心情况加入执行个体成员

    youdao

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

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

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