public class UnsignedConversion extends java.lang.Object implements Enhancement
Constructor and Description |
---|
UnsignedConversion(DataType outType,
DataType.Signedness signedness) |
Modifier and Type | Method and Description |
---|---|
double |
convert(double value) |
Array |
convertUnsigned(Array in) |
static java.lang.Number |
convertUnsigned(java.lang.Number value,
DataType dataType) |
static UnsignedConversion |
createFromVar(VariableDS var) |
DataType |
getOutType() |
DataType.Signedness |
getSignedness() |
public UnsignedConversion(DataType outType, DataType.Signedness signedness)
public static UnsignedConversion createFromVar(VariableDS var)
public DataType getOutType()
public DataType.Signedness getSignedness()
public double convert(double value)
convert
in interface Enhancement
public static java.lang.Number convertUnsigned(java.lang.Number value, DataType dataType)