Package org.rcsb.cif.binary.data
Interface IntArray
-
- All Superinterfaces:
EncodedData<int[]>,NumberArray<int[]>
- All Known Subinterfaces:
SignedIntArray,UnsignedIntArray
- All Known Implementing Classes:
Int16Array,Int32Array,Int8Array,Uint16Array,Uint32Array,Uint8Array
public interface IntArray extends NumberArray<int[]>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Int32Arraydecode(IntegerPackingEncoding encoding)default Int32Arrayencode(RunLengthEncoding encoding)int[]getData()Access to the underlying array of information.booleanisSigned()default intlength()The number of elements in the wrapped array.-
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, getNumberOfBytes, getType, toByteArray
-
-
-
-
Method Detail
-
getData
int[] getData()
Description copied from interface:EncodedDataAccess to the underlying array of information.- Specified by:
getDatain interfaceEncodedData<int[]>- 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<int[]>- Returns:
- results of array.length
-
isSigned
boolean isSigned()
-
encode
default Int32Array encode(RunLengthEncoding encoding)
-
decode
default Int32Array decode(IntegerPackingEncoding encoding)
-
-