WildcardTypepublic interface WildcardType implements TypeThis interface represents a wildcard type, such as the simple wildcard
{@code '?'}, the upper bounded wildcard {@code '? extends Closeable'}, the
multiple upper bounded wildcard {@code '? extends Closeable & Flushable'} or
the lower bounded wildcard {@code '? super OutputStream'}. |
Methods Summary |
---|
public java.lang.reflect.Type[] | getLowerBounds()Returns the array of types that represent the lower bounds of this type.
The default lower bound is {@code null}, in which case an empty array is
returned. Since only one lower bound is allowed, the returned array's
length will never exceed one.
| public java.lang.reflect.Type[] | getUpperBounds()Returns the array of types that represent the upper bounds of this type.
The default upper bound is {@code Object}.
|
|