• Any such additional constructors must call the primary constructor.

    任何此类附加构造函数都必须调用构造函数。

    youdao

  • It calls the primary constructor with Nil (which represents an empty List object).

    调用构造函数并且传入Nil (Nil表示了一个List对象)。

    youdao

  • Scala distinguishes between a primary constructor and zero or more auxiliary constructors.

    Scala可以区分构造函数0个多个辅助构造函数。

    youdao

  • One is the primary constructor, whose parameters appear in parentheses just after the type name.

    一种构造函数参数出现紧靠类型名称后面的括号中。

    youdao

  • Traits don't support auxiliary constructors, nor do they accept an argument list for the primary constructor, the body of a trait.

    Traits支持辅助构造函数,它们也不支持构造函数,trait主体里参数列表

    youdao

  • The primary constructor takes a label argument and a list of callbacks that are invoked when the button's click method is invoked.

    构造函数接受label(标签)参数一个callbacks(回调)list(列表),这些回调函数会按钮click方法调用被调用。

    youdao

  • The primary constructor for RadioButtonWithCallbacks takes three parameters: an on state (true or false), a label, and a list of callbacks.

    RadioButtonWithCallbacks的构造函数接受3个参数个开关状态(),标签以及一个回调函数例

    youdao

  • The primary constructor, which is the body of the entire class, has a parameter list that takes a label string and a list of callback functions.

    构造函数主题一个参数列表接受标签字符串回调函数的列表。

    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

  • The constructor invoked may be either another auxiliary constructor or the primary constructor, and it must be the first statement in the auxiliary constructor's body.

    被调用构造函数可以另外一个辅助构造函数或者构造函数,而且必须出现辅助构造函数主体的一句

    youdao

  • Because all auxiliary constructors eventually invoke the primary constructor, logic checks and other initializations done in the body will be performed consistently for all instances created.

    因为所有辅助构造函数最终都会调用构造函数,它主体进行逻辑检查其它初始化工作会所有实例被创建的时候执行

    youdao

  • Because all auxiliary constructors eventually invoke the primary constructor, logic checks and other initializations done in the body will be performed consistently for all instances created.

    因为所有辅助构造函数最终都会调用构造函数,它主体进行逻辑检查其它初始化工作会所有实例被创建的时候执行

    youdao

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

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

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