FileDocCategorySizeDatePackage
WildcardType.javaAPI DocJava SE 5 API1242Fri Aug 26 14:55:14 BST 2005com.sun.mirror.type

WildcardType

public interface WildcardType implements TypeMirror
Represents a wildcard type argument. Examples include:

?
? extends Number
? super T

A wildcard may have its upper bound explicitly set by an extends clause, its lower bound explicitly set by a super clause, or neither (but not both).

author
Joseph D. Darcy
author
Scott Seligman
version
1.5 04/06/07
since
1.5

Fields Summary
Constructors Summary
Methods Summary
public java.util.CollectiongetLowerBounds()
Returns the lower bounds of this wildcard. If no lower bound is explicitly declared, then an empty collection is returned.

return
the lower bounds of this wildcard

public java.util.CollectiongetUpperBounds()
Returns the upper bounds of this wildcard. If no upper bound is explicitly declared, then an empty collection is returned.

return
the upper bounds of this wildcard