src/main/java/org/g_node/nix/Block.java
/**
     * Create a new data array associated with this block.
     *
     * @param name     The name of the data array to create.
     * @param type     The type of the data array.
     * @param dataType A {@link DataType} indicating the format to store values.
     * @param shape    A NDSize holding the extent of the array to create.
     * @return The newly created data array.
     * @see DataArray
     */
Create a new data array associated with this block.
@param name     The name of the data array to create.
@param type     The type of the data array.
@param dataType A  DataType indicating the format to store values.
@param shape    A NDSize holding the extent of the array to create.
@return The newly created data array.
Create a new data array associated with this block . @param name The name of the data array to create . @param type The type of the data array . @param dataType A DataType indicating the format to store values . @param shape A NDSize holding the extent of the array to create . @return The newly created data array .
public DataArray createDataArray(String name, String type, int dataType, NDSize shape) {
        DataArray da = makeDataArray(name, type, dataType, shape);
        if (da.isNone()) {
            da = null;
        }
        return da;
    }
public DataArray createDataArray ( String name , String type , int dataType , NDSize shape ) { DataArray da = makeDataArray ( name , type , dataType , shape ) ; if ( da . isNone ( ) ) { da = null ; } return da ; }
Create a new data array associated with this block.
Create a new data array associated with this block .