| Modifier and Type | Field and Description |
|---|---|
| private volatile Object[] | lowerBounds
The lower bounds. |
| private volatile Object[] | upperBounds
The upper bounds. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object o)
Overrides java. Indicates whether some other object is "equal to" this one. |
| public Type[] | Returns: an array of Types representing the lower bound(s) of this type variableImplements java. Returns an array of |
| public Type[] | Returns: an array of Types representing the upper bound(s) of this type variableImplements java. Returns an array of |
| public int | |
| public static WildcardTypeImpl | Returns: a wild card type with the requested bounds and factory- an array of ASTs representing the upper bounds for the type
variable to be created ubs, FieldTypeSignature[] - an array of ASTs representing the lower bounds for the type
variable to be created lbs, GenericsFactory - a factory that can be used to manufacture reflective
objects that represent the bounds of this wildcard type f)Factory method. |
| public String |
| lowerBounds | back to summary |
|---|---|
| private volatile Object[] lowerBounds The lower bounds. Lazily converted from FieldTypeSignature[] to Type[]. | |
| upperBounds | back to summary |
|---|---|
| private volatile Object[] upperBounds The upper bounds. Lazily converted from FieldTypeSignature[] to Type[]. | |
| WildcardTypeImpl | back to summary |
|---|---|
| private WildcardTypeImpl(FieldTypeSignature[] ubs, FieldTypeSignature[] lbs, GenericsFactory f) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| getLowerBounds | back to summary |
|---|---|
| public Type[] getLowerBounds() Implements java. Returns an array of For each lower bound B :
| |
| getUpperBounds | back to summary |
|---|---|
| public Type[] getUpperBounds() Implements java. Returns an array of For each upper bound B :
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| make | back to summary |
|---|---|
| public static WildcardTypeImpl make(FieldTypeSignature[] ubs, FieldTypeSignature[] lbs, GenericsFactory f) Factory method.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |