Package org.robovm.apple.corefoundation
Enum CFNumberType
- java.lang.Object
-
- java.lang.Enum<CFNumberType>
-
- org.robovm.apple.corefoundation.CFNumberType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CFNumberType>
,org.robovm.rt.bro.ValuedEnum
public enum CFNumberType extends java.lang.Enum<CFNumberType> implements org.robovm.rt.bro.ValuedEnum
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.robovm.rt.bro.ValuedEnum
org.robovm.rt.bro.ValuedEnum.AsLongMarshaler, org.robovm.rt.bro.ValuedEnum.AsMachineSizedSIntMarshaler, org.robovm.rt.bro.ValuedEnum.AsMachineSizedUIntMarshaler, org.robovm.rt.bro.ValuedEnum.AsSignedByteMarshaler, org.robovm.rt.bro.ValuedEnum.AsSignedIntMarshaler, org.robovm.rt.bro.ValuedEnum.AsSignedShortMarshaler, org.robovm.rt.bro.ValuedEnum.AsUnsignedByteMarshaler, org.robovm.rt.bro.ValuedEnum.AsUnsignedIntMarshaler, org.robovm.rt.bro.ValuedEnum.AsUnsignedShortMarshaler
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CFIndexType
CGFloatType
CharType
DoubleType
Float32Type
Float64Type
FloatType
IntType
LongLongType
LongType
MaxType
NSIntegerType
ShortType
SInt16Type
SInt32Type
SInt64Type
SInt8Type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description long
value()
static CFNumberType
valueOf(long n)
Returns the enum constant of this type with the specified name.static CFNumberType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CFNumberType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SInt8Type
public static final CFNumberType SInt8Type
-
SInt16Type
public static final CFNumberType SInt16Type
-
SInt32Type
public static final CFNumberType SInt32Type
-
SInt64Type
public static final CFNumberType SInt64Type
-
Float32Type
public static final CFNumberType Float32Type
-
Float64Type
public static final CFNumberType Float64Type
-
CharType
public static final CFNumberType CharType
-
ShortType
public static final CFNumberType ShortType
-
IntType
public static final CFNumberType IntType
-
LongType
public static final CFNumberType LongType
-
LongLongType
public static final CFNumberType LongLongType
-
FloatType
public static final CFNumberType FloatType
-
DoubleType
public static final CFNumberType DoubleType
-
CFIndexType
public static final CFNumberType CFIndexType
-
NSIntegerType
public static final CFNumberType NSIntegerType
- Since:
- Available in iOS 2.0 and later.
-
CGFloatType
public static final CFNumberType CGFloatType
- Since:
- Available in iOS 2.0 and later.
-
MaxType
public static final CFNumberType MaxType
-
-
Method Detail
-
values
public static CFNumberType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CFNumberType c : CFNumberType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CFNumberType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
value
public long value()
- Specified by:
value
in interfaceorg.robovm.rt.bro.ValuedEnum
-
valueOf
public static CFNumberType valueOf(long n)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
n
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-