本文整理了Java中ucar.ma2.Index.setDim()
方法的一些代码示例,展示了Index.setDim()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Index.setDim()
方法的具体详情如下:
包路径:ucar.ma2.Index
类名称:Index
方法名:setDim
[英]set current element at dimension dim to v
[中]将尺寸标注处的当前元素设置为v
代码示例来源:origin: edu.ucar/netcdf
/**
* set current element at dimension 6 to v
*
* @param v set dimension 6 index to this value
* @return this, so you can use A.get(i.set(i))
*/
public Index set6(int v) {
setDim(6, v);
return this;
}
代码示例来源:origin: edu.ucar/netcdf
/**
* set current element at dimension 0,1 to v0,v1
*
* @param v0 set dimension 0 index to this value
* @param v1 set dimension 1 index to this value
* @return this, so you can use A.get(i.set(i,j))
*/
public Index set(int v0, int v1) {
setDim(0, v0);
setDim(1, v1);
return this;
}
代码示例来源:origin: edu.ucar/cdm
/**
* set current element at dimension 2 to v
*
* @param v set dimension 2 index to this value
* @return this, so you can use A.get(i.set(i))
*/
public Index set2(int v) {
setDim(2, v);
return this;
}
代码示例来源:origin: Unidata/thredds
/**
* set current element at dimension 3 to v
*
* @param v set dimension 3 index to this value
* @return this, so you can use A.get(i.set(i))
*/
public Index set3(int v) {
setDim(3, v);
return this;
}
代码示例来源:origin: Unidata/thredds
/**
* set current element at dimension 4 to v
*
* @param v set dimension 4 index to this value
* @return this, so you can use A.get(i.set(i))
*/
public Index set4(int v) {
setDim(4, v);
return this;
}
代码示例来源:origin: Unidata/thredds
/**
* set current element at dimension 0,1 to v0,v1
*
* @param v0 set dimension 0 index to this value
* @param v1 set dimension 1 index to this value
* @return this, so you can use A.get(i.set(i,j))
*/
public Index set(int v0, int v1) {
setDim(0, v0);
setDim(1, v1);
return this;
}
代码示例来源:origin: edu.ucar/netcdf
/**
* set current element at dimension 0 to v
*
* @param v set 0th dimension index to this value
* @return this, so you can use A.get(i.set(i))
*/
public Index set0(int v) {
setDim(0, v);
return this;
}
代码示例来源:origin: edu.ucar/netcdf
/**
* set current element at dimension 1 to v
*
* @param v set dimension 1 index to this value
* @return this, so you can use A.get(i.set(i))
*/
public Index set1(int v) {
setDim(1, v);
return this;
}
代码示例来源:origin: edu.ucar/netcdf
/**
* set current element at dimension 2 to v
*
* @param v set dimension 2 index to this value
* @return this, so you can use A.get(i.set(i))
*/
public Index set2(int v) {
setDim(2, v);
return this;
}
代码示例来源:origin: edu.ucar/netcdf
/**
* set current element at dimension 5 to v
*
* @param v set dimension 5 index to this value
* @return this, so you can use A.get(i.set(i))
*/
public Index set5(int v) {
setDim(5, v);
return this;
}
代码示例来源:origin: edu.ucar/netcdf
/**
* set current element at dimension 3 to v
*
* @param v set dimension 3 index to this value
* @return this, so you can use A.get(i.set(i))
*/
public Index set3(int v) {
setDim(3, v);
return this;
}
代码示例来源:origin: edu.ucar/netcdf
/**
* set current element at dimension 0 to v0
*
* @param v0 set dimension 0 index to this value
* @return this, so you can use A.get(i.set(i))
*/
public Index set(int v0) {
setDim(0, v0);
return this;
}
代码示例来源:origin: edu.ucar/cdm
/**
* set current element at dimension 6 to v
*
* @param v set dimension 6 index to this value
* @return this, so you can use A.get(i.set(i))
*/
public Index set6(int v) {
setDim(6, v);
return this;
}
代码示例来源:origin: edu.ucar/cdm
/**
* set current element at dimension 5 to v
*
* @param v set dimension 5 index to this value
* @return this, so you can use A.get(i.set(i))
*/
public Index set5(int v) {
setDim(5, v);
return this;
}
代码示例来源:origin: edu.ucar/cdm
/**
* set current element at dimension 0 to v0
*
* @param v0 set dimension 0 index to this value
* @return this, so you can use A.get(i.set(i))
*/
public Index set(int v0) {
setDim(0, v0);
return this;
}
代码示例来源:origin: Unidata/thredds
/**
* set current element at dimension 5 to v
*
* @param v set dimension 5 index to this value
* @return this, so you can use A.get(i.set(i))
*/
public Index set5(int v) {
setDim(5, v);
return this;
}
代码示例来源:origin: Unidata/thredds
/**
* set current element at dimension 0 to v
*
* @param v set 0th dimension index to this value
* @return this, so you can use A.get(i.set(i))
*/
public Index set0(int v) {
setDim(0, v);
return this;
}
代码示例来源:origin: Unidata/thredds
/**
* set current element at dimension 6 to v
*
* @param v set dimension 6 index to this value
* @return this, so you can use A.get(i.set(i))
*/
public Index set6(int v) {
setDim(6, v);
return this;
}
代码示例来源:origin: edu.ucar/cdm
/**
* set current element at dimension 0 to v
*
* @param v set 0th dimension index to this value
* @return this, so you can use A.get(i.set(i))
*/
public Index set0(int v) {
setDim(0, v);
return this;
}
代码示例来源:origin: edu.ucar/cdm
/**
* set current element at dimension 0,1 to v0,v1
*
* @param v0 set dimension 0 index to this value
* @param v1 set dimension 1 index to this value
* @return this, so you can use A.get(i.set(i,j))
*/
public Index set(int v0, int v1) {
setDim(0, v0);
setDim(1, v1);
return this;
}
内容来源于网络,如有侵权,请联系作者删除!