go top

使用泛型名称

网络释义

  generic type name

宣告泛型物件只使用泛型名称(generic type name),则预设会使用 Object 型别,使用此类物件须自行转换型态,且编译器会发出 warning 讯息。

基于12个网页-相关网页

有道翻译

使用泛型名称

Use generic names

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

双语例句

  • 不要产生泛型参数哈希值,使用一个易懂的类型名称作为替代

    Suppress the generation of a generic type parameter hash code and provide a legible type name instead.

    youdao

  • 对象随后使用属性名称字典公开有关浏览器功能信息

    The object in turn exposes information about browser capabilities using strongly typed properties and a generic name-value dictionary.

    youdao

  • 务必使用描述性名称命名泛型参数除非单个字母名称完全可以让人了解它表示的含义,而描述性名称不会有更多的意义

    Do name generic type parameters with descriptive names, unless a single letter name is completely self explanatory and a descriptive name would not add value.

    youdao

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

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

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