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:
AutoCloseable
public class CFNumber extends CFPropertyList
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCFNumber.CFNumberPtrNested classes/interfaces inherited from class org.robovm.apple.corefoundation.CFPropertyList
CFPropertyList.CFPropertyListPtrNested classes/interfaces inherited from class org.robovm.apple.corefoundation.CFType
CFType.AsListMarshaler, CFType.CFTypePtr, CFType.Marshaler, CFType.NoRetainMarshaler -
Constructor Summary
Constructors Modifier Constructor Description protectedCFNumber() -
Method Summary
Modifier and Type Method Description booleanbooleanValue()bytebyteValue()charcharValue()CFComparisonResultcompareTo(CFNumber otherNumber)doubledoubleValue()floatfloatValue()longgetByteSize()static longgetClassTypeID()static CFNumbergetNaN()static CFNumbergetNegativeInfinity()static CFNumbergetPositiveInfinity()CFNumberTypegetType()intintValue()booleanisFloatType()longlongValue()shortshortValue()static CFNumbervalueOf(boolean value)static CFNumbervalueOf(byte value)static CFNumbervalueOf(char value)static CFNumbervalueOf(double value)static CFNumbervalueOf(float value)static CFNumbervalueOf(int value)static CFNumbervalueOf(long value)static CFNumbervalueOf(short value)static CFNumbervalueOf(Number value)Methods inherited from class org.robovm.apple.corefoundation.CFPropertyList
asData, asData, create, create, create, create, create, create, createDeepCopy, createDeepCopy, isValid, writeMethods 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
-
Constructor Details
-
CFNumber
protected CFNumber()
-
-
Method Details
-
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
-
valueOf
-
valueOf
-
valueOf
-
valueOf
-
valueOf
-
valueOf
-
valueOf
-
valueOf
-
compareTo
-
getPositiveInfinity
-
getNegativeInfinity
-
getNaN
-
getClassTypeID
public static long getClassTypeID() -
getType
-
getByteSize
public long getByteSize() -
isFloatType
public boolean isFloatType()
-