dap4/d4core/src/main/java/dap4/core/util/DapUtil.java
static public boolean
    isContiguous(List<Slice> slices)
    {
        for(Slice sl : slices) {
            if(sl.getStride() != 1) return false;
        }
        return true;
    }
static public boolean
    isContiguous(List<Slice> slices)
    {
        for(Slice sl : slices) {
            if(sl.getStride() != 1) return false;
        }
        return true;
    }
static public boolean isContiguous ( List < Slice > slices ) { for ( Slice sl : slices ) { if ( sl . getStride ( ) != 1 ) return false ; } return true ; }
Test if a set of slices represent a contiguous region
This is equivalent to saying all strides are one

@param slices
@return
Test if a set of slices represent a contiguous region This is equivalent to saying all strides are one