public class IntegerDataEncoding extends DataEncoding implements NumericDataEncoding
| Modifier and Type | Class and Description |
|---|---|
static class |
IntegerDataEncoding.Builder |
static class |
IntegerDataEncoding.Encoding |
fromBinaryTransformAlgorithm, sizeInBits| Constructor and Description |
|---|
IntegerDataEncoding(IntegerDataEncoding.Builder builder) |
IntegerDataEncoding(IntegerDataEncoding ide) |
| Modifier and Type | Method and Description |
|---|---|
IntegerDataEncoding |
copy()
Create a shallow copy of the data encoding
|
List<ContextCalibrator> |
getContextCalibratorList() |
Calibrator |
getDefaultCalibrator() |
Set<Parameter> |
getDependentParameters() |
IntegerDataEncoding.Encoding |
getEncoding() |
StringDataEncoding |
getStringEncoding() |
Object |
parseString(String stringValue)
parses the string into a java object of the correct type
Has to match the DataEncodingDecoder (so probably it should be moved there somehow: TODO)
|
void |
setContextCalibratorList(List<ContextCalibrator> contextCalibratorList) |
void |
setDefaultCalibrator(Calibrator calibrator) |
void |
setEncoding(IntegerDataEncoding.Encoding encoding) |
IntegerDataEncoding.Builder |
toBuilder() |
String |
toString() |
getByteOrder, getFromBinaryTransformAlgorithm, getSizeInBits, setFromBinaryTransformAlgorithm, setSizeInBitspublic IntegerDataEncoding(IntegerDataEncoding.Builder builder)
public IntegerDataEncoding(IntegerDataEncoding ide)
public IntegerDataEncoding.Builder toBuilder()
toBuilder in class DataEncodingpublic IntegerDataEncoding.Encoding getEncoding()
public StringDataEncoding getStringEncoding()
public Calibrator getDefaultCalibrator()
getDefaultCalibrator in interface NumericDataEncodingpublic void setEncoding(IntegerDataEncoding.Encoding encoding)
public void setDefaultCalibrator(Calibrator calibrator)
setDefaultCalibrator in interface NumericDataEncodingpublic Object parseString(String stringValue)
DataEncodingparseString in class DataEncodingpublic List<ContextCalibrator> getContextCalibratorList()
getContextCalibratorList in interface NumericDataEncodingpublic void setContextCalibratorList(List<ContextCalibrator> contextCalibratorList)
setContextCalibratorList in interface NumericDataEncodingpublic Set<Parameter> getDependentParameters()
getDependentParameters in class DataEncodingpublic IntegerDataEncoding copy()
DataEncodingcopy in class DataEncodingCopyright © 2020 Space Applications Services. All rights reserved.