dods.clients.matlab
Class MatlabList
java.lang.Object
dods.dap.BaseType
dods.dap.DVector
dods.dap.DList
dods.clients.matlab.MatlabList
- All Implemented Interfaces:
- ClientIO, Cloneable
public class MatlabList
- extends DList
An extention of the DList class which provides methods to return
the data held inside the list as atomic types, limiting the necessary
interaction between matlab and java.
- See Also:
DList
Method Summary |
String |
getArrayTypeName()
Returns the type of data held in the array as a String . |
Object |
getData()
If the data held inside the list is either an atomic type or a
String, this function will return that data as a single-dimensional
array (or a two-dimensional char array in the case of String). |
Methods inherited from class dods.dap.BaseType |
checkSemantics, checkSemantics, elementCount, elementCount, getLongName, getName, getParent, newPrimitiveVector, printDecl, printDecl, printDecl, printDecl, printDecl, printDecl, printDecl, printVal, printVal, printVal, setName, setParent |
MatlabList
public MatlabList()
- Constructs a new
MatlabList
.
MatlabList
public MatlabList(String name)
- Constructs a new
MatlabList
with name name
.
- Parameters:
name
- The name of the array
getArrayTypeName
public String getArrayTypeName()
- Returns the type of data held in the array as a
String
.
- Returns:
- The type of data held in the array.
getData
public Object getData()
- If the data held inside the list is either an atomic type or a
String, this function will return that data as a single-dimensional
array (or a two-dimensional char array in the case of String).
- Returns:
- The data.