Class CoreFoundation.CFNumberRef

java.lang.Object
oshi.ffm.mac.CoreFoundation.CFTypeRef
oshi.ffm.mac.CoreFoundation.CFNumberRef
Enclosing interface:
CoreFoundation

public static class CoreFoundation.CFNumberRef extends CoreFoundation.CFTypeRef
A reference to a CFNumber object
  • Constructor Details

  • Method Details

    • longValue

      public long longValue()
      Convert this CFNumber to a long
      Returns:
      The long value
    • intValue

      public int intValue()
      Convert this CFNumber to an int
      Returns:
      The int value
    • shortValue

      public short shortValue()
      Convert this CFNumber to a short
      Returns:
      The short value
    • byteValue

      public byte byteValue()
      Convert this CFNumber to a byte
      Returns:
      The byte value
    • doubleValue

      public double doubleValue()
      Convert this CFNumber to a double
      Returns:
      The double value
    • floatValue

      public float floatValue()
      Convert this CFNumber to a float
      Returns:
      The float value