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