- java.lang.Object
-
- java.lang.Enum<Arch>
-
- de.ibapl.jnhw.libloader.Arch
-
- All Implemented Interfaces:
Serializable,Comparable<Arch>
public enum Arch extends Enum<Arch>
The Architecture used.- Author:
- aploese
-
-
Field Summary
Fields Modifier and Type Field Description StringarchNameStringfmtBigEndianStringfmtLittleEndianSizeInBitwordSize
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringformatArchName(Endianess endianess)StringtoString()static ArchvalueOf(String name)Returns the enum constant of this type with the specified name.static Arch[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
X86_64
public static final Arch X86_64
-
X86
public static final Arch X86
-
I386
public static final Arch I386
-
ARM
public static final Arch ARM
-
AARCH64
public static final Arch AARCH64
-
MIPS
public static final Arch MIPS
-
MIPS_64
public static final Arch MIPS_64
-
POWER_PC_64
public static final Arch POWER_PC_64
-
RISC_V_64
public static final Arch RISC_V_64
-
S390_X
public static final Arch S390_X
-
SPARC_64
public static final Arch SPARC_64
-
-
Method Detail
-
values
public static Arch[] 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 (Arch c : Arch.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Arch valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-