Methods Summary |
---|
public boolean | equals(java.lang.Object o)
if(!(o instanceof WildcardType)) {
return false;
}
WildcardType that = (WildcardType) o;
return Arrays.equals(getLowerBounds(), that.getLowerBounds()) &&
Arrays.equals(getUpperBounds(), that.getUpperBounds());
|
public java.lang.reflect.Type[] | getLowerBounds()
return superBound.getResolvedTypes().clone();
|
public java.lang.reflect.Type[] | getUpperBounds()
return extendsBound.getResolvedTypes().clone();
|
public int | hashCode()
return 31 * Arrays.hashCode(getLowerBounds()) +
Arrays.hashCode(getUpperBounds());
|
public java.lang.String | toString()
StringBuffer sb = new StringBuffer();
sb.append("?");
if (extendsBound.length() > 0) {
sb.append(" extends ").append(extendsBound);
} else if (superBound.length() > 0) {
sb.append(" super ").append(superBound);
}
return sb.toString();
|