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.枚举常量和说明 |
---|
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.
|
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
- 要返回的枚举常量的名称。IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量NullPointerException
- 如果参数为空值Copyright © 2021. All rights reserved.