go top

类型形参

网络释义

  type parameter

类型形参type parameter)是在「运行时标明参数所绑定的值类型或引用类型的标识符。

基于70个网页-相关网页

短语

非类型形参 nontype parameter

形式类型参数 formal type parameters

有道翻译

类型形参

Type parameter

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

双语例句

  • 因为数组不能复制所以无法编写使用数组类型形参函数

    Because we cannot copy an array, we cannot write a function that takes an array type parameter.

    youdao

  • 接口委托中,如果类型用作方法返回类型用于方法实,则声明为协变的。

    A type can be declared contravariant in a generic interface or delegate if it is used only as a type of method arguments and not used as a method return type.

    youdao

  • 如果接口具有逆变类型,则允许方法接受与接口类型形参指定派生类型相比,派生程度更小类型的实

    An interface that has a contravariant type parameter allows its methods to accept arguments of less derived types than those specified by the interface type parameter.

    youdao

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

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

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