com.jmatio.types
Class MLChar
java.lang.Object
com.jmatio.types.MLArray
com.jmatio.types.MLChar
- All Implemented Interfaces:
- GenericArrayCreator<Character>
public class MLChar
- extends MLArray
- implements GenericArrayCreator<Character>
| Fields inherited from class com.jmatio.types.MLArray |
attributes, dims, mtFLAG_COMPLEX, mtFLAG_GLOBAL, mtFLAG_LOGICAL, mtFLAG_TYPE, mxCELL_CLASS, mxCHAR_CLASS, mxDOUBLE_CLASS, mxFUNCTION_CLASS, mxINT16_CLASS, mxINT32_CLASS, mxINT64_CLASS, mxINT8_CLASS, mxOBJECT_CLASS, mxOPAQUE_CLASS, mxSINGLE_CLASS, mxSPARSE_CLASS, mxSTRUCT_CLASS, mxUINT16_CLASS, mxUINT32_CLASS, mxUINT64_CLASS, mxUINT8_CLASS, mxUNKNOWN_CLASS, name, type |
| Methods inherited from class com.jmatio.types.MLArray |
getDimensions, getFlags, getIndex, getM, getN, getName, getNameToByteArray, getNDimensions, getSize, getType, isCell, isChar, isComplex, isDouble, isEmpty, isFunctionObject, isInt16, isInt32, isInt64, isInt8, isLogical, isObject, isOpaque, isSingle, isSparse, isStruct, isUint16, isUint32, isUint64, isUint8, isUnknown, toString, typeToString |
MLChar
public MLChar(String name,
String value)
MLChar
public MLChar(String name,
int[] dims,
int type,
int attributes)
createArray
public Character[] createArray(int m,
int n)
- Specified by:
createArray in interface GenericArrayCreator<Character>
setChar
public void setChar(char ch,
int index)
set
public void set(String value)
getChar
public Character getChar(int m,
int n)
exportChar
public Character[] exportChar()
equals
public boolean equals(Object o)
- Overrides:
equals in class Object
getString
public String getString(int m)
- Gets the m-th character matrix's row as
String.
- Parameters:
m - - row number
- Returns:
- -
String
contentToString
public String contentToString()
- Overrides:
contentToString in class MLArray