Class RealValue
java.lang.Object
org.sblim.cimclient.internal.uri.Value
org.sblim.cimclient.internal.uri.RealValue
Class RealValue parses and encapsulates real values.
-
Method Summary
Modifier and TypeMethodDescriptiondouble
doubleValuefloat
floatValuegetTypeInfoboolean
isDouble()
isDoublestatic Value
Parses a RealValue as a double precision value.static Value
parseDouble
(URIString pUriStr) parseDoublestatic Value
parseFloat
(URIString pUriStr) parseFloattoString()
-
Method Details
-
parse
-
parseFloat
parseFloat- Parameters:
pUriStr
-- Returns:
- Value
- Throws:
IllegalArgumentException
- if parsing failed
-
parseDouble
parseDouble- Parameters:
pUriStr
-- Returns:
- Value
- Throws:
IllegalArgumentException
- if parsing failed
-
isDouble
public boolean isDouble()isDouble- Returns:
- boolean
-
floatValue
public float floatValue()floatValue- Returns:
- float
-
doubleValue
public double doubleValue()doubleValue- Returns:
- double
-
toString
-
getTypeInfo
Description copied from class:Value
getTypeInfo- Specified by:
getTypeInfo
in classValue
- Returns:
- the type description string of the Value.
- See Also:
-