Package gov.nih.mipav.view
Enum Preferences.SystemArchitecture
- java.lang.Object
-
- java.lang.Enum<Preferences.SystemArchitecture>
-
- gov.nih.mipav.view.Preferences.SystemArchitecture
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Preferences.SystemArchitecture>
- Enclosing class:
- Preferences
public static enum Preferences.SystemArchitecture extends java.lang.Enum<Preferences.SystemArchitecture>
Defines system architecture on which MIPAV is running.- Author:
- senseneyj
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ARCH_ALPHA
Indicates an alpha system architecture.ARCH_AMD64
Indicates an amd64 system architecture.ARCH_ARM
Indicates an arm system architecture.ARCH_IA64
Indicates an ia64 (itanium) system architecture.ARCH_MIPS
Indicates a mips system architecture.ARCH_PA_RISC
Indicates a PA RISC system architecture.ARCH_PPC
Indicates a 32-bit power pc system architecture.ARCH_PPC64
Indicates a 64-bit power pc system architecture.ARCH_SPARC
Indicates a sparc system architecture.ARCH_UNKNOWN
Indicates an unknown system architecture.ARCH_X86
Indicates an x86 system architecture.
-
Constructor Summary
Constructors Modifier Constructor Description private
SystemArchitecture()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Preferences.SystemArchitecture
getArch()
Gets the system architecture.static Preferences.SystemArchitecture
valueOf(java.lang.String name)
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 Detail
-
ARCH_UNKNOWN
public static final Preferences.SystemArchitecture ARCH_UNKNOWN
Indicates an unknown system architecture.
-
ARCH_X86
public static final Preferences.SystemArchitecture ARCH_X86
Indicates an x86 system architecture.
-
ARCH_AMD64
public static final Preferences.SystemArchitecture ARCH_AMD64
Indicates an amd64 system architecture.
-
ARCH_PPC
public static final Preferences.SystemArchitecture ARCH_PPC
Indicates a 32-bit power pc system architecture.
-
ARCH_PPC64
public static final Preferences.SystemArchitecture ARCH_PPC64
Indicates a 64-bit power pc system architecture.
-
ARCH_MIPS
public static final Preferences.SystemArchitecture ARCH_MIPS
Indicates a mips system architecture.
-
ARCH_ALPHA
public static final Preferences.SystemArchitecture ARCH_ALPHA
Indicates an alpha system architecture.
-
ARCH_IA64
public static final Preferences.SystemArchitecture ARCH_IA64
Indicates an ia64 (itanium) system architecture.
-
ARCH_ARM
public static final Preferences.SystemArchitecture ARCH_ARM
Indicates an arm system architecture.
-
ARCH_SPARC
public static final Preferences.SystemArchitecture ARCH_SPARC
Indicates a sparc system architecture.
-
ARCH_PA_RISC
public static final Preferences.SystemArchitecture ARCH_PA_RISC
Indicates a PA RISC system architecture.
-
-
Method Detail
-
values
public static Preferences.SystemArchitecture[] 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 (Preferences.SystemArchitecture c : Preferences.SystemArchitecture.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Preferences.SystemArchitecture 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
-
getArch
public static final Preferences.SystemArchitecture getArch()
Gets the system architecture.- Returns:
- the architecture
-
-