static public boolean
    isWhole(List<Range> rangelist, List<Slice> slices)
            throws dap4.core.util.DapException {
    """
	Test a List<Range> against a List<Slice>
	to see if the range list is whole
	wrt the slices
	
	@param rangelist the set of ucar.ma2.Range
	@param slices    the set of slices
	@result true if rangelist is whole wrt slices; false otherwise.
    """
        if(rangelist.size() != slices.size())
            return false;
        for(int i = 0; i < rangelist.size(); i++) {
            Range r = rangelist.get(i);
            Slice slice = slices.get(i);
            if(r.stride() != 1 || r.first() != 0 || r.length() != slice.getCount())
                return false;
        }
        return true;
    }
static public boolean
    isWhole(List<Range> rangelist, List<Slice> slices)
            throws dap4.core.util.DapException
    {
        if(rangelist.size() != slices.size())
            return false;
        for(int i = 0; i < rangelist.size(); i++) {
            Range r = rangelist.get(i);
            Slice slice = slices.get(i);
            if(r.stride() != 1 || r.first() != 0 || r.length() != slice.getCount())
                return false;
        }
        return true;
    }
static public boolean isWhole ( List < Range > rangelist , List < Slice > slices ) throws dap4 . core . util . DapException { if ( rangelist . size ( ) != slices . size ( ) ) return false ; for ( int i = 0 ; i < rangelist . size ( ) ; i ++ ) { Range r = rangelist . get ( i ) ; Slice slice = slices . get ( i ) ; if ( r . stride ( ) != 1 || r . first ( ) != 0 || r . length ( ) != slice . getCount ( ) ) return false ; } return true ; }
Test a List<Range> against a List<Slice>
to see if the range list is whole
wrt the slices

@param rangelist the set of ucar.ma2.Range
@param slices    the set of slices
@result true if rangelist is whole wrt slices; false otherwise.
Test a List<Range > against a List<Slice > to see if the range list is whole wrt the slices