public enum MachOCpuType extends Enum<MachOCpuType>
Modifier and Type | Method and Description |
---|---|
static MachOCpuType |
from(int c) |
static MachOCpuType |
from(String s) |
int |
toInt() |
static MachOCpuType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MachOCpuType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MachOCpuType X86_64
public static final MachOCpuType POWERPC64
public static final MachOCpuType ARM
public static final MachOCpuType ARM64
public static MachOCpuType[] values()
public static MachOCpuType 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 nullpublic static MachOCpuType from(int c)
public static MachOCpuType from(String s)
public int toInt()