|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectanl.aida.data.DataFrameIndex
public class DataFrameIndex
Encapsulates an index into a DataFrame data array.
Field Summary | |
---|---|
(package private) ucar.ma2.Index |
index
|
private int[] |
indices
|
private int |
kIndex
|
private int |
tIndex
|
private int |
xIndex
|
private int |
yIndex
|
Constructor Summary | |
---|---|
DataFrameIndex(DataFrame frame)
Creates a DataFrameIndex for the specified DataFrame. |
Method Summary | |
---|---|
void |
set(int index0)
Sets the first index value. |
void |
set(int index0,
int index1)
Sets the first two index values. |
void |
set(int timeStep,
int layer,
int x,
int y)
Sets all the indices for all the coordinate axes. |
void |
setLayer(int layer)
Sets the layer index value. |
void |
setTime(int timeStep)
Sets the time step index value. |
void |
setXY(int x,
int y)
Sets the x and y index value |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private int xIndex
private int yIndex
private int tIndex
private int kIndex
private int[] indices
ucar.ma2.Index index
Constructor Detail |
---|
public DataFrameIndex(DataFrame frame)
frame
- the DataFrame that this is an index forMethod Detail |
---|
public void setTime(int timeStep)
timeStep
- the time step.public void setLayer(int layer)
layer
- the layer index valuepublic void set(int index0, int index1)
index0
- index1
- public void set(int index0)
index0
- the index valuepublic void set(int timeStep, int layer, int x, int y)
timeStep
- the time ste p indexlayer
- the layer indexx
- the x indexy
- the y indexpublic void setXY(int x, int y)
x
- the x valuey
- the y value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |