类 FlatIndex
- java.lang.Object
-
- org.meteoinfo.ndarray.FlatIndex
-
public class FlatIndex extends java.lang.Object
-
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 java.lang.ObjectgetObject(int idx)Get objectArraysection(int first, int last, int stride)Get section arrayArraysection(java.util.List<java.lang.Integer> idx)Set section arrayvoidsetObject(int idx, java.lang.Object value)Set objectvoidsetSection(int first, int last, int stride, java.lang.Object value)Set section arrayvoidsetSection(int first, int last, int stride, Array value)Set section arrayvoidsetSection(java.util.List<java.lang.Integer> idx, java.lang.Object value)Set sectionvoidsetSection(java.util.List<java.lang.Integer> idx, Array value)Set section
-
-
-
构造器详细资料
-
FlatIndex
public FlatIndex(Array array)
Constructor- 参数:
array- The array
-
-
方法详细资料
-
getObject
public java.lang.Object getObject(int idx)
Get object- 参数:
idx- The flat index- 返回:
- The object
-
setObject
public void setObject(int idx, java.lang.Object value)Set object- 参数:
idx- The flat indexvalue- The object
-
section
public Array section(int first, int last, int stride)
Get section array- 参数:
first- The first indexlast- The last indexstride- The stride- 返回:
- Array
-
section
public Array section(java.util.List<java.lang.Integer> idx)
Set section array- 参数:
idx- Index list- 返回:
- Section array
-
setSection
public void setSection(int first, int last, int stride, java.lang.Object value)Set section array- 参数:
first- The first indexlast- The last indexstride- The stridevalue- The value
-
setSection
public void setSection(int first, int last, int stride, Array value)Set section array- 参数:
first- The first indexlast- The last indexstride- The stridevalue- The value array
-
setSection
public void setSection(java.util.List<java.lang.Integer> idx, java.lang.Object value)Set section- 参数:
idx- Index listvalue- Value
-
setSection
public void setSection(java.util.List<java.lang.Integer> idx, Array value)Set section- 参数:
idx- Index listvalue- Value array
-
-