go top

命名的构造函数

网络释义

  Named Constructors

这些方法由此称为“命名的构造函数Named Constructors)”。一般,每种不同的构造对象的方法都有一个这样的静态方法。

基于20个网页-相关网页

短语

命名的构造函数用法 Named Constructor Idiom

有道翻译

命名的构造函数

Named constructor

以上为机器翻译结果,长、整句建议使用 人工翻译

双语例句

  • 例中两个命名参数传递给HttpRequest构造函数

    In this case you are passing in two named parameters to the constructor of HttpRequest.

    youdao

  • 示例中,并未构造函数中提供命名用户列表,因此返回配置表,而不是权限表。

    In this example, you are not supplying a list of named users in the constructor, so the table returned will be a configuration table, not a permissions table.

    youdao

  • 为何?大驼峰命名用于标识可以通过构造函数实例化对象

    Why? Upper camel case is conventional for identifying objects that can be instantiated using a constructor.

    youdao

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

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

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