public enum NativeType extends Enum<NativeType>
Pointer
, NativeLong
, or any of the normal java
types such as int
, short
.
All other types are defined in terms of these primitive types.Enum Constant and Description |
---|
ADDRESS
Native memory address.
|
DOUBLE
Double precision floating point.
|
FLOAT
Single precision floating point.
|
SCHAR
Signed char.
|
SINT
Signed integer.
|
SLONG
Signed long integer.
|
SLONGLONG
Signed long long integer.
|
SSHORT
Signed short integer.
|
STRUCT
Native struct type
|
UCHAR
Unsigned char.
|
UINT
Unsigned integer.
|
ULONG
Unsigned long integer.
|
ULONGLONG
Unsigned long long integer.
|
USHORT
Unsigned short integer.
|
VOID
Void type.
|
Modifier and Type | Method and Description |
---|---|
static NativeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NativeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NativeType VOID
public static final NativeType SCHAR
public static final NativeType UCHAR
public static final NativeType SSHORT
public static final NativeType USHORT
public static final NativeType SINT
public static final NativeType UINT
public static final NativeType SLONG
public static final NativeType ULONG
public static final NativeType SLONGLONG
public static final NativeType ULONGLONG
public static final NativeType FLOAT
public static final NativeType DOUBLE
public static final NativeType STRUCT
public static final NativeType ADDRESS
public static NativeType[] values()
for (NativeType c : NativeType.values()) System.out.println(c);
public static NativeType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2017. All rights reserved.