Package org.robovm.apple.corefoundation
Class CFNumber
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.apple.corefoundation.CFType
-
- org.robovm.apple.corefoundation.CFPropertyList
-
- org.robovm.apple.corefoundation.CFNumber
-
- All Implemented Interfaces:
java.lang.AutoCloseable
public class CFNumber extends CFPropertyList
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CFNumber.CFNumberPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.corefoundation.CFPropertyList
CFPropertyList.CFPropertyListPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.corefoundation.CFType
CFType.AsListMarshaler, CFType.CFTypePtr, CFType.Marshaler, CFType.NoRetainMarshaler
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
CFNumber()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
booleanValue()
byte
byteValue()
char
charValue()
CFComparisonResult
compareTo(CFNumber otherNumber)
double
doubleValue()
float
floatValue()
long
getByteSize()
static long
getClassTypeID()
static CFNumber
getNaN()
static CFNumber
getNegativeInfinity()
static CFNumber
getPositiveInfinity()
CFNumberType
getType()
int
intValue()
boolean
isFloatType()
long
longValue()
short
shortValue()
static CFNumber
valueOf(boolean value)
static CFNumber
valueOf(byte value)
static CFNumber
valueOf(char value)
static CFNumber
valueOf(double value)
static CFNumber
valueOf(float value)
static CFNumber
valueOf(int value)
static CFNumber
valueOf(long value)
static CFNumber
valueOf(short value)
static CFNumber
valueOf(java.lang.Number value)
-
Methods inherited from class org.robovm.apple.corefoundation.CFPropertyList
asData, asData, create, create, create, create, create, create, createDeepCopy, createDeepCopy, isValid, write
-
Methods inherited from class org.robovm.apple.corefoundation.CFType
autorelease, close, dispose, dispose, doDispose, equalsTo, finalize, getAllocator, getDescription, getRetainCount, getTypeID, getTypeIDDescription, hash, makeCollectable, release, release, retain, retain, show, toString
-
-
-
-
Method Detail
-
byteValue
public byte byteValue()
-
shortValue
public short shortValue()
-
charValue
public char charValue()
-
intValue
public int intValue()
-
longValue
public long longValue()
-
floatValue
public float floatValue()
-
doubleValue
public double doubleValue()
-
booleanValue
public boolean booleanValue()
-
valueOf
public static CFNumber valueOf(byte value)
-
valueOf
public static CFNumber valueOf(short value)
-
valueOf
public static CFNumber valueOf(char value)
-
valueOf
public static CFNumber valueOf(int value)
-
valueOf
public static CFNumber valueOf(long value)
-
valueOf
public static CFNumber valueOf(float value)
-
valueOf
public static CFNumber valueOf(double value)
-
valueOf
public static CFNumber valueOf(boolean value)
-
valueOf
public static CFNumber valueOf(java.lang.Number value)
-
compareTo
public CFComparisonResult compareTo(CFNumber otherNumber)
-
getPositiveInfinity
public static CFNumber getPositiveInfinity()
-
getNegativeInfinity
public static CFNumber getNegativeInfinity()
-
getNaN
public static CFNumber getNaN()
-
getClassTypeID
public static long getClassTypeID()
-
getType
public CFNumberType getType()
-
getByteSize
public long getByteSize()
-
isFloatType
public boolean isFloatType()
-
-