Class RealValue

java.lang.Object
org.sblim.cimclient.internal.uri.Value
org.sblim.cimclient.internal.uri.RealValue

public class RealValue extends Value
Class RealValue parses and encapsulates real values.
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    doubleValue
    float
    floatValue
    java.lang.String
    getTypeInfo
    boolean
    isDouble
    static Value
    parse(URIString pUriStr)
    Parses a RealValue as a double precision value.
    static Value
    parseDouble
    static Value
    parseFloat
    java.lang.String
     

    Methods inherited from class org.sblim.cimclient.internal.uri.Value

    parse

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Method Details

    • parse

      public static Value parse(URIString pUriStr)
      Parses a RealValue as a double precision value.
      Parameters:
      pUriStr -
      Returns:
      Value
    • parseFloat

      public static Value parseFloat(URIString pUriStr) throws java.lang.IllegalArgumentException
      parseFloat
      Parameters:
      pUriStr -
      Returns:
      Value
      Throws:
      java.lang.IllegalArgumentException - if parsing failed
    • parseDouble

      public static Value parseDouble(URIString pUriStr) throws java.lang.IllegalArgumentException
      parseDouble
      Parameters:
      pUriStr -
      Returns:
      Value
      Throws:
      java.lang.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

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object
      See Also:
      • Object.toString()
    • getTypeInfo

      public java.lang.String getTypeInfo()
      Description copied from class: Value
      getTypeInfo
      Specified by:
      getTypeInfo in class Value
      Returns:
      the type description string of the Value.
      See Also: