• youdao

  • The class constructor takes up to three parameters.

    这个类构造器最多有三个参数。

    youdao

  • The next few lines introduce the int class constructor.

    后面的几行介绍int类的构造函数。

    youdao

  • The final tuple, tc, used the actual class constructor to create a tuple.

    最后一个tupletc使用了一个实际的类构造函数来创建tuple。

    youdao

  • As for followpos , I have added an accessor and new code in the class constructor.

    至于followpos,我在类构造器中添加了一个取值(方法)和新代码。

    youdao

  • A static constructor, also known as a class constructor, is used to initialize a type.

    静态构造函数(也称为类构造函数)用于初始化类型。

    youdao

  • Each client has to have a unique identifier string which is passed as an argument to the class constructor.

    每个客户端必须有单独的标识符串,将该标识符串作为参数传送给类构造函数。

    youdao

  • But you can also explicitly create a string object by using the STR class constructor, as shown in Listing 6.

    但是您也可以使用str类构造函数显式地创建字符串对象,如清单6所示。

    youdao

  • Calling the FunctionCall class constructor you created in the section, "Creating the sample FunctionCall class."

    调用在“创建示例functioncall类”一节中所创建的functioncall类构造函数。

    youdao

  • Be aware that any class constructor code will run on the first thread in the first context that accesses the field.

    请注意,任何类构造函数代码都将在访问该字段的第一个上下文中的第一个线程上运行。

    youdao

  • We must explicitly declare our content provider constructor and call the super-class constructor with the expected parameters.

    我们必须显式地声明内容提供程序构造函数并使用所需的参数调用超类构造函数。

    youdao

  • The first one creates an integer object whose value is 0, which is the default value used when no value is supplied to the int class constructor.

    第一个构造函数创建了一个整数对象,其值为0,在没有值提供给int类构造函数的情况下,该值是所使用的默认值。

    youdao

  • To correct this problem, you must reset the collection dependency property value to a unique instance, as part of the class constructor call.

    若要更正这个问题,您必须将集合相依性属性值重设成唯一执行个体,做为类别建构函式逻辑呼叫的一部分。

    youdao

  • Your class constructor should invoke the constructor method for the parent class, in addition to anything it does that is specific to your class.

    自定义的类构造器应该调用父类的构造器方法,做除这之外的任何事情是指定到你的类。

    youdao

  • 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.

    接下来,初始化services_oembed类的一个实例,类构造函数被传递两个参数:YouTubeURL和一组选项。

    youdao

  • Initializers execute before the base class constructor for your type executes, and they are executed in the order the variables are declared in your class.

    初始化器在基类构造函数执行前被执行,它们被执行的顺序就是在类里被声明的顺序。

    youdao

  • Because the state of the call stack in a class constructor is not well defined, stack walk overrides placed in constructors can produce unexpected and undesired results.

    由于类构造函数中的调用堆栈状态的定义不完善,所以放置在构造函数中的堆栈步重写可能会产生意外结果。

    youdao

  • If you are familiar with the basics of object-oriented programming, you will know that when an object is instantiated, the class constructor function is automatically called.

    如果您对面向对象编程语言基本原理比较熟悉,您就知道当一个对象被实例化时,类构造函数被自动调用。

    youdao

  • Note that demands should never be made in a class constructor because class constructor code is not guaranteed to execute at any particular point or in any particular context.

    请注意需求不应该设定于类别建构函式内,因为无法确定类别建构函式程序码的执行时点和内容。

    youdao

  • Check the Special Pages developer's guide page (see Resources) for more information about the SpecialPage class constructor, which will let you restrict access, hide the page, etc.

    有关SpecialPage类构造函数(利用它可限制访问、隐藏页面等)的更多信息,请查阅特殊页开发指南页面(参见参考资料)。

    youdao

  • 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.

    对静态类构造函数执行的链接要求不会保护该构造函数,因为静态构造函数是由系统调用的,它们并不包括在应用程序的代码执行路径中。

    youdao

  • Thus, you should never have a no-argument constructor for an immutable class.

    因此,您永远都不该为一个不可变类提供一个无参数的构造函数。

    youdao

  • The other way to say it is, never define a global (static global) instance of a class whose constructor or destructor may throw exceptions.

    换一种说法就是永远都不要为那些其构造函数和析构函数可能抛出异常的类定义全局(静态全局)实例。

    youdao

  • A class can have different constructor methods, differentiated by the different attributes enclosed within the parentheses following the class name.

    类可以有不同的构造函数方法,这些方法是通过类名称后的圆括号内附带的不同属性进行区分。

    youdao

  • In this article, you've seen some performance consequences when a class has a static constructor.

    在本文中,您已经看到了在类具有一个静态构造函数时所导致的性能结果。

    youdao

  • Be sure to change the package, class, and constructor names in the Java code to match the project name.

    确认代码中的包名、类名以及类构造函数名都已改为与项目名一致。

    youdao

  • Overriding methods in a parent class is not limited to the constructor.

    父类中的重写方法不仅局限于构造函数。

    youdao

  • Notice that the class name matches the filename, and that you have to have a constructor for your class.

    请注意,类名与文件名匹配,必须为类提供一个构造函数。

    youdao

  • Constructor getConstructor(Class[] params) -- Gets the public constructor using the specified parameter types

    ConstructorgetConstructor(Class[]params) --获得使用特殊的参数类型的公共构造函数

    youdao

  • Listing 3: Constructor for the Nessus class.

    清单3:nessus类的构造函数。

    youdao

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

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

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