cdm/src/main/java/ucar/ma2/Index.java
public Index set(int v0, int v1, int v2) {
    setDim(0, v0);
    setDim(1, v1);
    setDim(2, v2);
    return this;
  }
public Index set(int v0, int v1, int v2) {
    setDim(0, v0);
    setDim(1, v1);
    setDim(2, v2);
    return this;
  }
set current element at dimension 0,1,2 to v0,v1,v2

@param v0 set dimension 0 index to this value
@param v1 set dimension 1 index to this value
@param v2 set dimension 2 index to this value
@return this, so you can use A.get(i.set(i,j,k))