• 不能基本类型实例化泛型类型参数

    Generic type parameters can't be instantiated with primitive types.

    youdao

  • 泛型类型参数基本类型

    Generic type parameters and primitive types.

    youdao

  • 已知引用类型泛型类型参数

    Generic type parameters known to be reference types.

    youdao

  • 类型参数类型占位符。

    A generic type parameter is a placeholder for a type.

    youdao

  • 如何匹配的泛型类型参数

    How to pattern-match a generic type argument?

    youdao

  • 枚举不能泛型类型参数

    Enumerations cannot have generic type parameters.

    youdao

  • 添加显式泛型类型参数

    Add explicit generic type parameters.

    youdao

  • 创建类型参数定义,并获取该泛型类型参数的标记。

    Each parameter definition consists of a parameter name and a data type.

    youdao

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

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

    youdao

  • 泛型类型参数名称大写字母T”开头,后面另一个大写字母。

    Generic type parameter names should start with an uppercase 't' and optionally may be followed by another uppercase letter.

    youdao

  • 外部可见类型方法泛型类型参数名称大写的“T”开头。

    The name of a generic type parameter on an externally visible type or method does not start with an uppercase 't'.

    youdao

  • 指定泛型类型参数定义的上下文中返回由指定的元数据标记标识字段

    Returns the field identified by the specified metadata token, in the context defined by the specified generic type parameters.

    youdao

  • 指定泛型类型参数定义上下文中返回由指定的元数据标记标识类型

    Returns the type identified by the specified metadata token, in the context defined by the specified generic type parameters.

    youdao

  • 可以逆变委托分配同一类型其他委托,使用派生程度较小泛型类型参数

    A contravariant delegate can be assigned another delegate of the same type, but with a less derived generic type parameter.

    youdao

  • 可以协变委托分配同一类型其他委托,使用派生程度较大的泛型类型参数

    A covariant delegate can be assigned another delegate of the same type, but with a more derived generic type parameter.

    youdao

  • 擦除另一个后果泛型类型参数强制类型转换或者instance of毫无意义

    Another consequence of erasure is that using casts or instanceof with generic type parameters doesn't make any sense. The following code will not improve the type safety of your code at all.

    youdao

  • 某一约束应用类型参数时,必须存在具体参数约束类型标识引用转换

    When a constraint is applied to a generic type parameter, an implicit identity or reference conversion must exist from the concrete argument to the type of the constraint.

    youdao

  • 返回指定元数据标记标识字段运行时字段句柄指定标记所在范围内类型方法泛型类型参数

    Returns a runtime field handle for the field identified by the specified metadata token, specifying the generic type arguments of the type and method where the token is in scope.

    youdao

  • 返回指定元数据标记标识类型运行时类型句柄指定标记所在范围内类型方法泛型类型参数

    Returns a runtime method handle for the method or constructor identified by the specified metadata token, specifying the generic type arguments of the type and method where the token is in scope.

    youdao

  • 因为运行不能区分ListList(运行时List),泛型类型参数标识类型变量构造成了问题。

    Because the runtime cannot tell a List from a List (at runtime, they're both just Lists), constructing variables whose type is identified by a generic type parameter is problematic.

    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

  • 提高代码有效性可以指定上限下限),不是指定某个泛型类型参数精确类型。 这可以使用有界通配符来实现,的形式为 “?

    To increase the usefulness of our generic code, instead of specifying the exact type of a generic type parameter, we can specify an upper (or lower) bound instead.

    youdao

  • 如果提供类,那么即使这个类提供通用参数类型定义也会处理所有字段

    If that supplied class is a generic class, all fields of the class are processed as though the most general possible parameter type definitions were supplied for the class.

    youdao

  • 签名定义了实际使用参数类型所以提供了处理类型替换时需要信息

    A signature defines the actual parameter types used with a generic type, so it provides the information I'll need to process type substitutions.

    youdao

  • 这个泛型处理成对类型参数给出了这些项目类型

    This generic class handles pairs of values, with the type parameters giving the types of the items in the pairs.

    youdao

  • 远程过程具有一个多个泛型参数,或类型参数

    This remote procedure can have one or more generic parameters, or strongly typed once.

    youdao

  • 可以泛型类型看作类型函数”;它们通过类型变量进行参数化,这些类型变量可以根据上下文各种类型参数进行实例化

    Generic types can be thought of as type "functions"; they are parameterized by type variables that can then be instantiated with various type arguments depending on context.

    youdao

  • 松散类型服务使用泛型参数定义,其中架构形式包含消息内容说明

    Loosely typed services use generic parameter definitions that do not include an explanation of the message content in form of a schema.

    youdao

  • 因此类型参数t用作泛型超类时,T注释确切地告知我们可以调用哪些超级构造函数。

    Thus, when a type parameter t is used as the superclass of a generic class, the annotation on t tells us exactly what super-constructors we can call.

    youdao

  • 再提一次是因为可以自己的类型参数来实例化另一个泛型类。

    Again, that's because one generic class may instantiate another with its own type parameters.

    youdao

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

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

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