Modifier and Type | Method and Description |
---|---|
Type[] |
getLowerBounds()
返回表示下限
Type 对象数组(S)这种类型的变量。
|
Type[] |
getUpperBounds()
返回
Type 对象代表上界的数组(S)这种类型的变量。
|
getTypeName
Type[] getUpperBounds()
Type
对象数组(S)这种类型的变量。请注意,如果没有上限,明确宣布,上限是
Object
。
为每个上限B:
ParameterizedType
)。TypeNotPresentException
-如果有任何的界限是指一个不存在的类型声明
MalformedParameterizedTypeException
-如果有任何的界限是一个参数化的类型不能被实例化的任何理由
Type[] getLowerBounds()
Type
对象数组(S)这种类型的变量。请注意,如果没有显式声明的下限,下限是
null
类型。在这种情况下,返回一零个长度的数组。
为每个下界B:
ParameterizedType
)。TypeNotPresentException
-如果有任何的界限是指一个不存在的类型声明
MalformedParameterizedTypeException
-如果有任何的界限是一个参数化的类型不能被实例化的任何理由
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.