Class CoreFoundation.CFNumberRef
java.lang.Object
oshi.ffm.mac.CoreFoundation.CFTypeRef
oshi.ffm.mac.CoreFoundation.CFNumberRef
- Enclosing interface:
CoreFoundation
A reference to a CFNumber object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyteConvert this CFNumber to a bytedoubleConvert this CFNumber to a doublefloatConvert this CFNumber to a floatintintValue()Convert this CFNumber to an intlongConvert this CFNumber to a longshortConvert this CFNumber to a short
-
Constructor Details
-
CFNumberRef
-
-
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
-