public float ENgetoption( OptionParameterCodes optionCode ) throws EpanetException {
        float[] optionValue = new float[1];
        int error = epanet.ENgetoption(optionCode.getCode(), optionValue);
        checkError(error);
        return optionValue[0];
    }
public float ENgetoption ( OptionParameterCodes optionCode ) throws EpanetException { float [ ] optionValue = new float [ 1 ] ; int error = epanet . ENgetoption ( optionCode . getCode ( ) , optionValue ) ; checkError ( error ) ; return optionValue [ 0 ] ; }
Retrieves the value of a particular analysis option.

@param optionCode The {@link OptionParameterCodes}.
@throws EpanetException