go top

类型参数约束

网络释义

  type parameter constraint

次要约束的代表是接口类型,还有一种称为 类型参数约束type parameter constraint ),也称为裸类型约束,如public class Test

基于12个网页-相关网页

短语

泛型类型参数约束 generic type parameter constraint ; yleisen tyypin parametriehto ; beperking van algemeen type parameter

有道翻译

类型参数约束

Type parameter constraint

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

双语例句

  • 这个约束强制任何类型' T '都必须具有参数的公共构造函数。

    This constraint forces any type 't' to have a default constructor, that is, a constructor that takes no parameters.

    youdao

  • 单击特定参数就会显示详细信息比如参数作用描述参数类型约束(比如最小最大值)和当前值。

    Clicking on a specific parameter provides details, such as the description of what that parameter does, parameter type, constraints (like minimum value and maximum value), and current value.

    youdao

  • 通配符—使用个奇怪问号表示类型参数一种表示未知类型类型约束方法

    Wildcards - the funky question marks where a type parameter should go - are a means of expressing a type constraint in terms of an unknown type.

    youdao

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

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

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