ucar.ma2.Index.incr()方法的使用及代码示例

x33g5p2x  于2022-01-21 转载在 其他  
字(2.9k)|赞(0)|评价(0)|浏览(135)

本文整理了Java中ucar.ma2.Index.incr()方法的一些代码示例,展示了Index.incr()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Index.incr()方法的具体详情如下:
包路径:ucar.ma2.Index
类名称:Index
方法名:incr

Index.incr介绍

[英]Increment the current element by 1. Used by IndexIterator. General rank, with subclass specialization. Vlen skipped.
[中]

代码示例

代码示例来源:origin: edu.ucar/netcdf

public double getDoubleNext() {
 count++;
 currElement = counter.incr();
 return maa.getDouble(currElement);
}

代码示例来源:origin: edu.ucar/netcdf

public float getFloatNext() {
 count++;
 currElement = counter.incr();
 return maa.getFloat(currElement);
}

代码示例来源:origin: edu.ucar/cdm

public void setDoubleNext(double val) {
 count++;
 currElement = counter.incr();
 maa.setDouble(currElement, val);
}

代码示例来源:origin: edu.ucar/cdm

public short getShortNext() {
 count++;
 currElement = counter.incr();
 return maa.getShort(currElement);
}

代码示例来源:origin: edu.ucar/cdm

public void setShortNext(short val) {
 count++;
 currElement = counter.incr();
 maa.setShort(currElement, val);
}

代码示例来源:origin: edu.ucar/cdm

public void setByteNext(byte val) {
 count++;
 currElement = counter.incr();
 maa.setByte(currElement, val);
}

代码示例来源:origin: edu.ucar/cdm

public void setCharNext(char val) {
 count++;
 currElement = counter.incr();
 maa.setChar(currElement, val);
}

代码示例来源:origin: Unidata/thredds

public double getDoubleNext() {
 count++;
 currElement = counter.incr();
 return maa.getDouble(currElement);
}

代码示例来源:origin: Unidata/thredds

public void setFloatNext(float val) {
 count++;
 currElement = counter.incr();
 maa.setFloat(currElement, val);
}

代码示例来源:origin: edu.ucar/netcdf

public void setBooleanNext(boolean val) {
 count++;
 currElement = counter.incr();
 maa.setBoolean(currElement, val);
}

代码示例来源:origin: edu.ucar/cdm

public void setIntNext(int val) {
 count++;
 currElement = counter.incr();
 maa.setInt(currElement, val);
}

代码示例来源:origin: edu.ucar/cdm

public char getCharNext() {
 count++;
 currElement = counter.incr();
 return maa.getChar(currElement);
}

代码示例来源:origin: edu.ucar/cdm

public void setBooleanNext(boolean val) {
 count++;
 currElement = counter.incr();
 maa.setBoolean(currElement, val);
}

代码示例来源:origin: edu.ucar/cdm

public Object getObjectNext() {
 count++;
 currElement = counter.incr();
 return maa.getObject(currElement);
}

代码示例来源:origin: Unidata/thredds

public float getFloatNext() {
 count++;
 currElement = counter.incr();
 return maa.getFloat(currElement);
}

代码示例来源:origin: Unidata/thredds

public void setShortNext(short val) {
 count++;
 currElement = counter.incr();
 maa.setShort(currElement, val);
}

代码示例来源:origin: Unidata/thredds

public void setByteNext(byte val) {
 count++;
 currElement = counter.incr();
 maa.setByte(currElement, val);
}

代码示例来源:origin: Unidata/thredds

boolean hasNext() {
 if (first) {
  first = false;
  return true;
 }
 srcPos += nelems;
 if (srcPos >= total)
  return false;
 index.incr();
 resultPos = startElem + index.currentElement();
 return true;
}

代码示例来源:origin: edu.ucar/netcdf

public void setCharNext(char val) {
 count++;
 currElement = counter.incr();
 maa.setChar(currElement, val);
}

代码示例来源:origin: edu.ucar/netcdf

public void setObjectNext(Object val) {
  count++;
  currElement = counter.incr();
  maa.setObject(currElement, val);
 }
}

相关文章