Package gov.nih.mipav.view
Enum Preferences.SystemArchitecture
- All Implemented Interfaces:
Serializable,Comparable<Preferences.SystemArchitecture>,java.lang.constant.Constable
- Enclosing class:
Preferences
Defines system architecture on which MIPAV is running.
- Author:
- senseneyj
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIndicates an alpha system architecture.Indicates an amd64 system architecture.Indicates an arm system architecture.Indicates an ia64 (itanium) system architecture.Indicates a mips system architecture.Indicates a PA RISC system architecture.Indicates a 32-bit power pc system architecture.Indicates a 64-bit power pc system architecture.Indicates a sparc system architecture.Indicates an unknown system architecture.Indicates an x86 system architecture. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final Preferences.SystemArchitecturegetArch()Gets the system architecture.Returns the enum constant of this type with the specified name.static Preferences.SystemArchitecture[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ARCH_UNKNOWN
Indicates an unknown system architecture. -
ARCH_X86
Indicates an x86 system architecture. -
ARCH_AMD64
Indicates an amd64 system architecture. -
ARCH_PPC
Indicates a 32-bit power pc system architecture. -
ARCH_PPC64
Indicates a 64-bit power pc system architecture. -
ARCH_MIPS
Indicates a mips system architecture. -
ARCH_ALPHA
Indicates an alpha system architecture. -
ARCH_IA64
Indicates an ia64 (itanium) system architecture. -
ARCH_ARM
Indicates an arm system architecture. -
ARCH_SPARC
Indicates a sparc system architecture. -
ARCH_PA_RISC
Indicates a PA RISC system architecture.
-
-
Constructor Details
-
SystemArchitecture
private SystemArchitecture()
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
getArch
Gets the system architecture.- Returns:
- the architecture
-