Code example for WildcardType

Methods: getLowerBoundsgetUpperBounds

0
    public boolean equals(Object o) {
        if(!(o instanceof WildcardType)) {
            return false; 
        } 
        WildcardType that = (WildcardType) o;
        return Arrays.equals(getLowerBounds(), that.getLowerBounds()) && 
                Arrays.equals(getUpperBounds(), that.getUpperBounds());
    } 
     
    @Override 
    public int hashCode() { 
        return 31 * Arrays.hashCode(getLowerBounds()) + 
                Arrays.hashCode(getUpperBounds());
    } 
     
    @Override 
    public String toString() {
        StringBuffer sb = new StringBuffer();
        sb.append("?");
        if (extendsBound.length() > 0) {