Since type parameters are erased to their bounds and the bounds can't be primitive types, there is no way that an instantiation with primitive types would make sense once the types are erased.
既然类型参数被擦除为它们的界限,而界限不能是基本类型,所以一旦类型被擦除,则对基本类型的实例化会完全没有意义。
Declaration of variables and object instantiation for nested types should not be required in common scenarios.
在常见方案中,不应要求对嵌套类型进行变量声明和对象实例化。
Declaration of variables and object instantiation for nested types should not be required in common scenarios.
在常见方案中,不应要求对嵌套类型进行变量声明和对象实例化。
应用推荐