Package com.io7m.montarre.adoptium
Enum Class METArchitectureName
- All Implemented Interfaces:
Serializable,Comparable<METArchitectureName>,Constable
Architecture names in the Adoptium API.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic METArchitectureNameof(MArchitectureName architecture) static METArchitectureNameReturns the enum constant of this class with the specified name.static METArchitectureName[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
X64
x86_64 -
X32
x86_32 -
PPC64
ppc_64 -
PPC64LE
ppcle_64 -
S390X
s390x -
AARCH64
aarch_64 -
ARM
arm_32 -
SPARCV9
sparc_64 -
RISCV64
riscv_64
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
of
- Parameters:
architecture- The input name- Returns:
- An architecture name
-
adoptiumName
- Returns:
- The Adoptium architecture name
-