Package org.rcsb.cif.binary.data
Class Float32Array
- java.lang.Object
-
- org.rcsb.cif.binary.data.AbstractEncodedData<double[]>
-
- org.rcsb.cif.binary.data.Float32Array
-
- All Implemented Interfaces:
EncodedData<double[]>,FloatArray,NumberArray<double[]>
public class Float32Array extends AbstractEncodedData<double[]> implements FloatArray
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double[]getData()Access to the underlying array of information.intgetNumberOfBytes()intgetType()intlength()The number of elements in the wrapped array.byte[]toByteArray()StringtoString()-
Methods inherited from class org.rcsb.cif.binary.data.AbstractEncodedData
getEncoding, hasNextDecodingStep, setEncoding
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.rcsb.cif.binary.data.EncodedData
decode, getEncoding, hasNextDecodingStep, setEncoding
-
Methods inherited from interface org.rcsb.cif.binary.data.FloatArray
encode
-
Methods inherited from interface org.rcsb.cif.binary.data.NumberArray
encode
-
-
-
-
Method Detail
-
getData
public double[] getData()
Description copied from interface:EncodedDataAccess to the underlying array of information.- Specified by:
getDatain interfaceEncodedData<double[]>- Specified by:
getDatain interfaceFloatArray- Returns:
- an int[], double[], byte[], or String[]
-
length
public int length()
Description copied from interface:EncodedDataThe number of elements in the wrapped array.- Specified by:
lengthin interfaceEncodedData<double[]>- Specified by:
lengthin interfaceFloatArray- Returns:
- results of array.length
-
toByteArray
public byte[] toByteArray()
- Specified by:
toByteArrayin interfaceNumberArray<double[]>
-
getNumberOfBytes
public int getNumberOfBytes()
- Specified by:
getNumberOfBytesin interfaceNumberArray<double[]>
-
getType
public int getType()
- Specified by:
getTypein interfaceNumberArray<double[]>
-
-