Package org.rcsb.cif.binary.data
Class Uint32Array
- java.lang.Object
-
- org.rcsb.cif.binary.data.AbstractEncodedData<int[]>
-
- org.rcsb.cif.binary.data.Uint32Array
-
- All Implemented Interfaces:
EncodedData<int[]>,IntArray,NumberArray<int[]>,UnsignedIntArray
public class Uint32Array extends AbstractEncodedData<int[]> implements UnsignedIntArray
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int[]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.NumberArray
encode
-
Methods inherited from interface org.rcsb.cif.binary.data.UnsignedIntArray
isSigned
-
-
-
-
Method Detail
-
getData
public int[] getData()
Description copied from interface:EncodedDataAccess to the underlying array of information.- Specified by:
getDatain interfaceEncodedData<int[]>- Specified by:
getDatain interfaceIntArray- 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<int[]>- Specified by:
lengthin interfaceIntArray- Returns:
- results of array.length
-
toByteArray
public byte[] toByteArray()
- Specified by:
toByteArrayin interfaceNumberArray<int[]>
-
getNumberOfBytes
public int getNumberOfBytes()
- Specified by:
getNumberOfBytesin interfaceNumberArray<int[]>
-
getType
public int getType()
- Specified by:
getTypein interfaceNumberArray<int[]>
-
-