com.kenai.jaffl.provider

Class NativeType

public class NativeType extends Enum<NativeType>

Field Summary
static NativeTypeADDRESS
static NativeTypeDOUBLE
static NativeTypeFLOAT
static NativeTypeSCHAR
static NativeTypeSINT
static NativeTypeSLONG
static NativeTypeSLONGLONG
static NativeTypeSSHORT
static NativeTypeUCHAR
static NativeTypeUINT
static NativeTypeULONG
static NativeTypeULONGLONG
static NativeTypeUSHORT
static List<NativeType>VALUES
An immutable list containing the values comprising this enum class in the order they're declared.
static NativeTypeVOID
Method Summary
List<NativeType>family()
Returns an immutable list containing the values comprising this enum class in the order they're declared.
static NativeTypevalueOf(String name)
Static factory to return the enum constant pertaining to the given string name.

Field Detail

ADDRESS

public static final NativeType ADDRESS

DOUBLE

public static final NativeType DOUBLE

FLOAT

public static final NativeType FLOAT

SCHAR

public static final NativeType SCHAR

SINT

public static final NativeType SINT

SLONG

public static final NativeType SLONG

SLONGLONG

public static final NativeType SLONGLONG

SSHORT

public static final NativeType SSHORT

UCHAR

public static final NativeType UCHAR

UINT

public static final NativeType UINT

ULONG

public static final NativeType ULONG

ULONGLONG

public static final NativeType ULONGLONG

USHORT

public static final NativeType USHORT

VALUES

public static final List<NativeType> VALUES
An immutable list containing the values comprising this enum class in the order they're declared. This field may be used to iterate over the constants as follows:
for(NativeType c : NativeType.VALUES)
    System.out.println(c);

VOID

public static final NativeType VOID

Method Detail

family

public final List<NativeType> family()
Returns an immutable list containing the values comprising this enum class in the order they're declared. This instance method simply returns VALUES. Few programmers should have any need to use this method. It is provided for use by sophisticated enum-based data structures to prevent the need for reflective access to VALUES.

Returns: an immutable list containing the values comprising this enum class, in the order they're declared.

valueOf

public static final NativeType valueOf(String name)
Static factory to return the enum constant pertaining to the given string name. The string must match exactly an identifier used to declare an enum constant in this type.

Throws: IllegalArgumentException if this enum class has no constant with the specified name.