org.sblim.cimclient.internal.uri

Class RealValue

public class RealValue extends Value

Class RealValue parses and encapsulates real values.
Method Summary
doubledoubleValue()
doubleValue
floatfloatValue()
floatValue
StringgetTypeInfo()
booleanisDouble()
isDouble
static Valueparse(URIString pUriStr)
Parses a RealValue as a double precision value.
static ValueparseDouble(URIString pUriStr)
parseDouble
static ValueparseFloat(URIString pUriStr)
parseFloat
StringtoString()

Method Detail

doubleValue

public double doubleValue()
doubleValue

Returns: double

floatValue

public float floatValue()
floatValue

Returns: float

getTypeInfo

public String getTypeInfo()

See Also: getTypeInfo

isDouble

public boolean isDouble()
isDouble

Returns: boolean

parse

public static Value parse(URIString pUriStr)
Parses a RealValue as a double precision value.

Parameters: pUriStr

Returns: Value

parseDouble

public static Value parseDouble(URIString pUriStr)
parseDouble

Parameters: pUriStr

Returns: Value

Throws: IllegalArgumentException if parsing failed

parseFloat

public static Value parseFloat(URIString pUriStr)
parseFloat

Parameters: pUriStr

Returns: Value

Throws: IllegalArgumentException if parsing failed

toString

public String toString()

See Also: java.lang.Object#toString()

Copyright © 2005, 2009 IBM Corporation. All Rights Reserved.