Constructor and Description |
---|
Numeric(String value)
Constructs a Numeric with the given value
|
Numeric(String value,
int radix)
Constructs a Numeric with the given value and radix
|
Numeric(String value,
String units)
Constructs a Numeric with the given value and units
|
Numeric(String value,
String units,
int radix)
Constructs a Numeric with the given value, units and radix
|
Modifier and Type | Method and Description |
---|---|
int |
getRadix()
Retrieves the base
|
String |
getUnits()
Retrieves the units
|
boolean |
isSupportedPDSType(Constants.DictionaryType type) |
String |
normalize() |
void |
setRadix(int radix)
Sets the radix
|
void |
setUnits(String units)
Sets the units
|
public Numeric(String value)
value
- of numericpublic Numeric(String value, String units)
value
- of numericunits
- of numericpublic Numeric(String value, int radix)
value
- of numericradix
- of numericpublic void setUnits(String units)
units
- of the numericpublic String getUnits()
public void setRadix(int radix)
radix
- of the numericpublic int getRadix()
public String normalize()
public boolean isSupportedPDSType(Constants.DictionaryType type)
isSupportedPDSType
in class Scalar
Copyright © 2005–2015 Planetary Data System. All rights reserved.