public class StringArray extends Array
CLASS_A, CLASS_APD, CLASS_D, CLASS_R, CLASS_S, DTYPE_ACTION, DTYPE_B, DTYPE_BU, DTYPE_CALL, DTYPE_CONDITION, DTYPE_CONGLOM, DTYPE_DEPENDENCY, DTYPE_DICTIONARY, DTYPE_DIMENSION, DTYPE_DISPATCH, DTYPE_DOUBLE, DTYPE_DSC, DTYPE_EVENT, DTYPE_FLOAT, DTYPE_FUNCTION, DTYPE_IDENT, DTYPE_L, DTYPE_LIST, DTYPE_LU, DTYPE_METHOD, DTYPE_NID, DTYPE_O, DTYPE_OU, DTYPE_PARAM, DTYPE_PATH, DTYPE_PROCEDURE, DTYPE_PROGRAM, DTYPE_Q, DTYPE_QU, DTYPE_RANGE, DTYPE_ROUTINE, DTYPE_SIGNAL, DTYPE_SLOPE, DTYPE_T, DTYPE_TUPLE, DTYPE_W, DTYPE_WINDOW, DTYPE_WITH_ERROR, DTYPE_WITH_UNITS, DTYPE_WU, TreeDEPENDENCY_AND, TreeDEPENDENCY_OR, TreeIGNORE_STATUS, TreeIGNORE_UNDEFINED, TreeNEGATE_CONDITION| Constructor and Description |
|---|
StringArray(String[] inDatum) |
StringArray(String[] inDatum,
int[] dims) |
StringArray(String[] inDatum,
int[] dims,
Data help,
Data units,
Data error,
Data validation) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
byte[] |
getByteArray()
Convert this data into a byte array.
|
static Data |
getData(String[] datum,
int[] dims,
Data help,
Data units,
Data error,
Data validation) |
double[] |
getDoubleArray()
Convert this data into a long array.
|
Data |
getElementAt(int idx) |
float[] |
getFloatArray()
Convert this data into a float array.
|
int[] |
getIntArray()
Convert this data into a int array.
|
long[] |
getLongArray()
Convert this data into a long array.
|
protected Array |
getPortionAt(int startIdx,
int[] newDims,
int newSize) |
short[] |
getShortArray()
Convert this data into a short array.
|
int |
getSize() |
int |
getSizeInBytes() |
String[] |
getStringArray() |
void |
setElementAt(int idx,
Data data) |
protected void |
setPortionAt(Array data,
int startIdx,
int size) |
getElementAt, getShape, setElementAt, setShapecompile, compile, convertToDate, data, deserialize, evaluate, execute, executeWithContext, getByte, getDimensionAt, getDouble, getError, getFloat, getHelp, getInt, getLong, getMdsMsg, getShort, getString, getTime, getUnits, getValidation, plot, serialize, setCtxTree, setError, setHelp, setUnits, setValidation, toData, toData, toData, toData, toData, toData, toData, toData, toData, toData, toData, toData, toData, toData, toDouble, toStringpublic StringArray(String[] inDatum)
public StringArray(String[] inDatum, int[] dims) throws MdsException
MdsExceptionpublic StringArray(String[] inDatum, int[] dims, Data help, Data units, Data error, Data validation) throws MdsException
MdsExceptionpublic static Data getData(String[] datum, int[] dims, Data help, Data units, Data error, Data validation)
public Data getElementAt(int idx)
getElementAt in class Arrayprotected Array getPortionAt(int startIdx, int[] newDims, int newSize) throws MdsException
getPortionAt in class ArrayMdsExceptionpublic void setElementAt(int idx,
Data data)
throws MdsException
setElementAt in class ArrayMdsExceptionprotected void setPortionAt(Array data, int startIdx, int size) throws MdsException
setPortionAt in class ArrayMdsExceptionpublic byte[] getByteArray()
throws MdsException
DatagetByteArray in class DataMdsExceptionpublic short[] getShortArray()
throws MdsException
DatagetShortArray in class DataMdsExceptionpublic int[] getIntArray()
throws MdsException
DatagetIntArray in class DataMdsExceptionpublic long[] getLongArray()
throws MdsException
DatagetLongArray in class DataMdsExceptionpublic float[] getFloatArray()
throws MdsException
DatagetFloatArray in class DataMdsExceptionpublic double[] getDoubleArray()
throws MdsException
DatagetDoubleArray in class DataMdsExceptionpublic String[] getStringArray()
getStringArray in class Datapublic int getSizeInBytes()
getSizeInBytes in class DataCopyright © 2021. All rights reserved.