Package com.io7m.coffeepick.runtime
Enum RuntimeArchitectures
- java.lang.Object
-
- java.lang.Enum<RuntimeArchitectures>
-
- com.io7m.coffeepick.runtime.RuntimeArchitectures
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<RuntimeArchitectures>
public enum RuntimeArchitectures extends java.lang.Enum<RuntimeArchitectures>
Standard names for architectures.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringarchitectureName()static RuntimeArchitecturesvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static RuntimeArchitectures[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
X32
public static final RuntimeArchitectures X32
32-bit x86
-
X64
public static final RuntimeArchitectures X64
64-bit x86
-
S390X
public static final RuntimeArchitectures S390X
S390X
-
PPC64_LE
public static final RuntimeArchitectures PPC64_LE
PowerPC 64-bit Little-Endian
-
PPC64_BE
public static final RuntimeArchitectures PPC64_BE
PowerPC 64-bit Big-Endian
-
AARCH_64
public static final RuntimeArchitectures AARCH_64
64-bit ARM
-
ARM32_HFLT
public static final RuntimeArchitectures ARM32_HFLT
32-bit ARM with hardware floating point.
-
-
Method Detail
-
values
public static RuntimeArchitectures[] 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 (RuntimeArchitectures c : RuntimeArchitectures.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RuntimeArchitectures valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
architectureName
public java.lang.String architectureName()
- Returns:
- The name of the architecture
-
-