Package ucar.nc2.filter
Class UnsignedConversion
- java.lang.Object
-
- ucar.nc2.filter.UnsignedConversion
-
- All Implemented Interfaces:
Enhancement
public class UnsignedConversion extends Object implements Enhancement
-
-
Constructor Summary
Constructors Constructor Description UnsignedConversion(DataType outType, DataType.Signedness signedness)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description double
convert(double value)
static Number
convertUnsigned(Number value, DataType dataType)
Array
convertUnsigned(Array in)
static UnsignedConversion
createFromVar(VariableDS var)
DataType
getOutType()
DataType.Signedness
getSignedness()
-
-
-
Constructor Detail
-
UnsignedConversion
public UnsignedConversion(DataType outType, DataType.Signedness signedness)
-
-
Method Detail
-
createFromVar
public static UnsignedConversion createFromVar(VariableDS var)
-
getOutType
public DataType getOutType()
-
getSignedness
public DataType.Signedness getSignedness()
-
convert
public double convert(double value)
- Specified by:
convert
in interfaceEnhancement
-
-