• 私有构造函数一种特殊的实例构造函数

    A private constructor is a special instance constructor.

    youdao

  • 构造函数调用作为实例构造函数中的第一条语句有效

    Constructor call is valid only as the first statement in an instance constructor.

    youdao

  • 接口不能包含常量字段运算符实例构造函数函数类型

    An interface cannot contain constants, fields, operators, instance constructors, destructors, or types.

    youdao

  • 应该使用实例构造函数一些特殊私有方法、任何其它习惯初始化静态变量

    You should not use your instance constructors, some special private function, or any other idiom to initialize static variables.

    youdao

  • 如果编程语言没有静态的内置支持,则应将静态类声明密封抽象的,添加一个私有实例构造函数

    Do declare static classes as sealed and abstract, and add a private instance constructor, if your programming language does not have built-in support for static classes.

    youdao

  • 因为实例没有任何特殊构造函数操作属性引用所以需要这些调用

    This instance doesn't have any special constructors, operations, attributes, or references, so these calls aren't required.

    youdao

  • 创建一个接受所有三个属性构造函数便于创建实例

    I've also created a constructor that takes all three properties, which will facilitate creating new instances.

    youdao

  • 此外枚举类型支持拥有构造函数实例方法变量等等

    In addition, enumerated types support having constructors, instance methods, and variables, among other things.

    youdao

  • 注意站点构造函数接受设计器宿主实例

    Note that the site's constructor accepts a designer host instance.

    youdao

  • 大约200,000个通用构造函数调用实例上,两种算法大约90%的时候都可以预测结果

    On approximately 200,000 instances of generic constructor invocations, both algorithms predicted the correct result approximately 90 percent of the time.

    youdao

  • 同时创建用于设置这个实例变量构造函数

    It also creates a constructor that sets this instance variable.

    youdao

  • 构造函数只是创建特定实例(对象)特殊方法

    A constructor is just a special method that creates an instance (or object) of a particular class.

    youdao

  • 构造函数没有参数并且返回类型实例中的所有属性空。

    The constructor function has no parameters and returns an instance of the type with all of its attributes set to null values.

    youdao

  • <ui:button>实例作为参数传递给构造函数使用 this.element保持引用

    The instance of the <ui:button> is passed as a parameter to the constructor function and I keep a reference to it as this.element.

    youdao

  • 如果定义了一个关系那么必须保护实例(Resource)传递ResourcePermission构造函数中。

    If a relationship is defined, then the class instance (Resource) being protected must be passed into the ResourcePermission constructor.

    youdao

  • LaunchApp使用Assembly .LoadFrom静态方法创建Assembly对象实例不是通过显式调构造函数创建

    LaunchApp creates an instance of an Assembly object using the Assembly.LoadFrom static method rather than by using an explicit constructor call.

    youdao

  • J2SE客户端可以通过BankingService两个构造函数创建服务实例

    A J2SE client can use BankingService to create a Service instance via its two constructors.

    youdao

  • 在内部Scope依赖线程静态字段存储提供给Scope构造函数实例Stack

    Internally, Scope relies on a thread-static field to store the Stack of instances supplied to Scope's constructor.

    youdao

  • 构造函数使用packagebuilder实例解析编译文件包含规则

    This constructor USES an instance of the PackageBuilder class to parse and compile the rules contained in the source file.

    youdao

  • Greeter构造函数创建Message实例随后greet方法调用使用

    The Greeter constructor creates an instance of Message, which it then USES in the greet method call.

    youdao

  • 接下来初始化services_oembed实例,类构造函数被传递两个参数YouTubeURL选项

    Next, an instance of the Services_oEmbed class is initialized, with the class constructor passed two arguments: the YouTube URL and an array of options.

    youdao

  • 清单2提供了用于MainFrame构造函数实例显示画面所使用代码

    The code for the MainFrame constructor function and for the instantiation and display of the frame is provided in Listing 2.

    youdao

  • 这里creator属性设置new,这意味着DWR应当调用默认构造函数获得实例

    The creator attribute here is set to the value new, meaning that DWR should call the class's default constructor to obtain an instance.

    youdao

  • @Name注释告知Seam使用默认构造函数创建实例

    The @Name annotation tells Seam to use the default constructor of a class to create a new instance.

    youdao

  • 这个行为DI世界中称作构造函数注入因为实例通过一个构造函数传递

    This behavior is referred to in the DI world as constructor injection, because the instance is passed through one of the constructors.

    youdao

  • 正如料,这个构造函数创建一个实例得到调用。

    This will be called whenever an instance of this class is created, just as you would expect.

    youdao

  • 但是我们类所一切只限于类型参数实例化时,对于什么样构造函数用于给定实例化,我们没有任何概念

    But when all we know about our superclass is that it's some instantiation of a type parameter, we have no idea what constructors will be available for a given instantiation.

    youdao

  • 现在我们依赖于外部全局对象只是通过构造函数传递对象实例

    Now we don't depend on external global objects, just on the instances passed in the constructor.

    youdao

  • 这种实例涉及到调用默认构造函数随后还要注入依赖关系

    This instantiation involves the default constructor for the class being called, with the injection of dependencies happening afterwards.

    youdao

  • 处理问题另一种方法只要泛型运行时实例没有包括所需构造函数抛出异常

    Another way of handling this problem would be to throw an exception whenever a run-time instantiation of the generic class does not include a needed constructor.

    youdao

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

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

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