cdm/src/main/java/ucar/ma2/Index3D.java
int setDirect(int v0, int v1, int v2) {
    if (v0 < 0 || v0 >= shape0)
      throw new ArrayIndexOutOfBoundsException();
    if (v1 < 0 || v1 >= shape1)
      throw new ArrayIndexOutOfBoundsException();
    if (v2 < 0 || v2 >= shape2)
      throw new ArrayIndexOutOfBoundsException();
    return offset + v0*stride0 + v1*stride1 + v2*stride2;
  }
int setDirect(int v0, int v1, int v2) {
    if (v0 < 0 || v0 >= shape0)
      throw new ArrayIndexOutOfBoundsException();
    if (v1 < 0 || v1 >= shape1)
      throw new ArrayIndexOutOfBoundsException();
    if (v2 < 0 || v2 >= shape2)
      throw new ArrayIndexOutOfBoundsException();
    return offset + v0*stride0 + v1*stride1 + v2*stride2;
  }
int setDirect ( int v0 , int v1 , int v2 ) { if ( v0 < 0 || v0 >= shape0 ) throw new ArrayIndexOutOfBoundsException ( ) ; if ( v1 < 0 || v1 >= shape1 ) throw new ArrayIndexOutOfBoundsException ( ) ; if ( v2 < 0 || v2 >= shape2 ) throw new ArrayIndexOutOfBoundsException ( ) ; return offset + v0 * stride0 + v1 * stride1 + v2 * stride2 ; }
experimental
experimental