opendap/src/main/java/opendap/util/OptSwitch.java
public void SetHasValue(int type) {
        this.type = type;
        if (debug) {
            System.out.println("sw = " + (char) sw + "; type = " + type +
                    "; set = " + set + "; val = " + val);
        }
    }
public void SetHasValue(int type) {
        this.type = type;
        if (debug) {
            System.out.println("sw = " + (char) sw + "; type = " + type +
                    "; set = " + set + "; val = " + val);
        }
    }
public void SetHasValue ( int type ) { this . type = type ; if ( debug ) { System . out . println ( "sw = " + ( char ) sw + "; type = " + type + "; set = " + set + "; val = " + val ) ; } }
Set the value type of the option switch to the type passed

@param    type    type of value that switch may accept or be
Set the value type of the option switch to the type passed