Package org.rcsb.cif.binary.data
Interface FloatArray
- All Superinterfaces:
EncodedData<double[]>,NumberArray<double[]>
- All Known Implementing Classes:
Float32Array,Float64Array
public interface FloatArray extends NumberArray<double[]>
An array of floating point numbers.
-
Method Summary
Modifier and Type Method Description default Int32Arrayencode(FixedPointEncoding encoding)double[]getData()Access to the underlying array of information.default intlength()The number of elements in the wrapped array.Methods inherited from interface org.rcsb.cif.binary.data.EncodedData
decode, getEncoding, hasNextDecodingStep, setEncodingMethods inherited from interface org.rcsb.cif.binary.data.NumberArray
encode, getNumberOfBytes, getType, toByteArray
-
Method Details
-
getData
double[] getData()Description copied from interface:EncodedDataAccess to the underlying array of information.- Specified by:
getDatain interfaceEncodedData<double[]>- Returns:
- an int[], double[], byte[], or String[]
-
length
default int length()Description copied from interface:EncodedDataThe number of elements in the wrapped array.- Specified by:
lengthin interfaceEncodedData<double[]>- Returns:
- results of array.length
-
encode
-