com.jmatio.types
Class MLSingle

java.lang.Object
  extended by com.jmatio.types.MLArray
      extended by com.jmatio.types.MLNumericArray<Float>
          extended by com.jmatio.types.MLSingle
All Implemented Interfaces:
ByteStorageSupport<Float>, GenericArrayCreator<Float>

public class MLSingle
extends MLNumericArray<Float>


Field Summary
 
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
 
Constructor Summary
MLSingle(String name, Float[] vals, int m)
           
MLSingle(String name, int[] dims, int type, int attributes)
           
 
Method Summary
 Float buldFromBytes(byte[] bytes)
           
 Float[] createArray(int m, int n)
           
 byte[] getByteArray(Float value)
           
 int getBytesAllocated()
           
 Class<?> getStorageClazz()
           
 
Methods inherited from class com.jmatio.types.MLNumericArray
_get, _set, allocate, contentToString, dispose, equals, get, get, getImaginary, getImaginary, getImaginaryByteBuffer, getReal, getReal, getRealByteBuffer, putImaginaryByteBuffer, putRealByteBuffer, set, set, set, setImaginary, setImaginary, setReal, setReal, setReal
 
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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MLSingle

public MLSingle(String name,
                Float[] vals,
                int m)

MLSingle

public MLSingle(String name,
                int[] dims,
                int type,
                int attributes)
Method Detail

createArray

public Float[] createArray(int m,
                           int n)

buldFromBytes

public Float buldFromBytes(byte[] bytes)

getByteArray

public byte[] getByteArray(Float value)

getBytesAllocated

public int getBytesAllocated()

getStorageClazz

public Class<?> getStorageClazz()


Copyright © 2006–2014 GeoSolutions. All rights reserved.