public interface WildcardType extends TypeMirror
? ? extends Number ? super T
通配符可能有其上限由extends
条款明确规定,其下限由super
条款明确规定,或没有(而不是两个)。
Modifier and Type | Method and Description |
---|---|
TypeMirror |
getExtendsBound()
返回这个通配符的上界。
|
TypeMirror |
getSuperBound()
返回下这个通配符的束缚。
|
accept, equals, getKind, hashCode, toString
getAnnotation, getAnnotationMirrors, getAnnotationsByType
TypeMirror getExtendsBound()
null
返回。
TypeMirror getSuperBound()
null
返回。
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.