Generic Type Parameter的意思|示意
泛型类型参数
Generic Type Parameter的网络常见释义
泛型类型参数 ... Generic Type Definition - 泛型类型定义 Generic Type Parameter - 泛型类型参数 Generic Type Parameter Constraint - 泛型类型参数约束 ...
泛型型别参数 Generic Type Definition - 泛型型别定义 Generic Type Parameter - 泛型型别参数 Generic Type Parameter Constraint - 泛型型别参数条件约束 ..
参数 泛型型别参数 (Generic Type Parameter) 或型别参数 (Type Parameter) 为泛型型别或方法定义中的替代符号。 Dictionary 泛型型别有两个型别参数:
Generic Type Parameter相关短语
1、 generic type parameter list 泛型类型参数列表 ; 泛型型别参数清单
2、 generic type parameter constraint 泛型类型参数约束 ; 泛型型别参数条件约束
Generic Type Parameter相关例句
Generic type parameter names should start with an uppercase 't' and optionally may be followed by another uppercase letter.
泛型类型参数名称应以大写字母“T”开头,后面可跟另一个大写字母。
A covariant delegate can be assigned another delegate of the same type, but with a more derived generic type parameter.
可以向协变委托分配同一类型的其他委托,但需使用派生程度较大的泛型类型参数。
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.
因此,当类型参数t用作泛型类的超类时,T的注释确切地告知我们可以调用哪些超级构造函数。
In the case of generic methods, if a type parameter appears only once in the method signature, then it probably should be a wildcard rather than a named type parameter.
就泛型方法来说,如果一个类型参数在方法签名中只出现一次,它很有可能是一个通配符而不是一个命名的类型参数。
To enable inference, the parameter signature of a generic method must include a parameter that is of the same type as the type parameter for the method.
若要启用推断,泛型方法的参数签章必须包含与方法之型别参数具有相同型别的参数。
This can include automatically generalizing the type of a parameter to be generic.
这可能包括自动将参数的类型通用化为泛型。