public class DataSlice
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) static int |
ARRAY |
(package private) DataSetArray |
arrayValue |
(package private) java.lang.String |
func |
(package private) java.lang.String |
item |
(package private) static int |
OBJECT |
(package private) NumDataSet |
objectValue |
(package private) int |
resultType |
(package private) static int |
SCALAR |
(package private) double |
scalarValue |
(package private) java.lang.String |
slice |
(package private) DataSlice |
subslice |
(package private) DataSlice[] |
subsliceArray |
(package private) static int |
VECTOR |
(package private) double[] |
vectorValue |
Constructor and Description |
---|
DataSlice(java.lang.String pe) |
Modifier and Type | Method and Description |
---|---|
private double |
applyFuncToScalar(double d,
java.lang.String lfunc) |
private double[] |
applyFuncToVector(double[] da,
java.lang.String lfunc) |
private void |
applyMark(DataItem ditin) |
private void |
applyResolve(java.lang.Object target) |
private double[] |
applySliceToVector(double[] da,
java.lang.String lslice) |
private DataSlice |
copy() |
private void |
extractFrom(java.lang.String pein) |
int[] |
getIntVector() |
double |
getScalar() |
double[] |
getVector() |
void |
mark(java.util.HashMap<java.lang.String,NumDataSet> hm) |
void |
mark(NumDataSet dset) |
void |
markIntVector() |
void |
markScalar() |
void |
markVector() |
void |
resolve(java.util.HashMap<java.lang.String,NumDataSet> hmap) |
void |
resolve(NumDataSet dset) |
void |
setSubslice(DataSlice dsl) |
java.lang.String item
java.lang.String func
java.lang.String slice
DataSlice subslice
DataSlice[] subsliceArray
double scalarValue
double[] vectorValue
NumDataSet objectValue
DataSetArray arrayValue
int resultType
static final int SCALAR
static final int VECTOR
static final int OBJECT
static final int ARRAY
private DataSlice copy()
private void extractFrom(java.lang.String pein)
public void setSubslice(DataSlice dsl)
public void resolve(java.util.HashMap<java.lang.String,NumDataSet> hmap)
public void mark(java.util.HashMap<java.lang.String,NumDataSet> hm)
public void mark(NumDataSet dset)
private void applyMark(DataItem ditin)
public void resolve(NumDataSet dset)
private void applyResolve(java.lang.Object target)
public double getScalar()
public double[] getVector()
public int[] getIntVector()
public void markVector()
public void markIntVector()
public void markScalar()
private double[] applyFuncToVector(double[] da, java.lang.String lfunc)
private double applyFuncToScalar(double d, java.lang.String lfunc)
private double[] applySliceToVector(double[] da, java.lang.String lslice)
Copyright © 2013. All Rights Reserved.