src/main/java/ucar/geoapi/NetcdfParameter.java
@Override
    public int[] intValueList() throws InvalidParameterTypeException {
        final double[] values = doubleValueList();
        final int[] result = new int[values.length];
        for (int i=0; i<result.length; i++) {
            result[i] = (int) values[i];
            if (result[i] != values[i]) {
                throw invalidType(parameter, int[].class);
            }
        }
        return result;
    }
/**
     * Returns the {@linkplain Parameter#getNumericValues() parameter numeric values}
     * as an array of integer values. This method invokes {@link #doubleValueList()},
     * casts each value to the {@code int} type and ensures that there is no loss of
     * accuracy.
     *
     * @return the parameter numeric values.
     * @throws InvalidParameterTypeException if the parameter value is not convertible
     *         to the {@code int[]} type.
     *
     * @see Parameter#getNumericValues()
     */
Returns the  Parameter#getNumericValues() parameter numeric values
as an array of integer values. This method invokes  #doubleValueList(),
casts each value to the  int type and ensures that there is no loss of
accuracy.

@return the parameter numeric values.
@throws InvalidParameterTypeException if the parameter value is not convertible
to the  int[] type.


Returns the Parameter#getNumericValues () parameter numeric values as an array of integer values . This method invokes #doubleValueList () casts each value to the int type and ensures that there is no loss of accuracy . @return the parameter numeric values . @throws InvalidParameterTypeException if the parameter value is not convertible to the int [] type .
@Override
    public int[] intValueList() throws InvalidParameterTypeException {
        final double[] values = doubleValueList();
        final int[] result = new int[values.length];
        for (int i=0; i<result.length; i++) {
            result[i] = (int) values[i];
            if (result[i] != values[i]) {
                throw invalidType(parameter, int[].class);
            }
        }
        return result;
    }
@ Override public int [ ] intValueList ( ) throws InvalidParameterTypeException { final double [ ] values = doubleValueList ( ) ; final int [ ] result = new int [ values . length ] ; for ( int i = 0 ; i < result . length ; i ++ ) { result [ i ] = ( int ) values [ i ] ; if ( result [ i ] != values [ i ] ) { throw invalidType ( parameter , int [ ] . class ) ; } } return result ; }
Returns the {@linkplain Parameter#getNumericValues() parameter numeric values}
 as an array of integer values.
Returns the { @linkplain Parameter#getNumericValues () parameter numeric values } as an array of integer values .