- java.lang.Object
-
- java.lang.Enum<NativeSystem.Arch>
-
- com.github.kwhat.jnativehook.NativeSystem.Arch
-
- All Implemented Interfaces:
Serializable
,Comparable<NativeSystem.Arch>
- Enclosing class:
- NativeSystem
public static enum NativeSystem.Arch extends Enum<NativeSystem.Arch>
The system architecture enum.- See Also:
NativeSystem
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
static NativeSystem.Arch
valueOf(String name)
Returns the enum constant of this type with the specified name.static NativeSystem.Arch[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ARM
public static final NativeSystem.Arch ARM
-
ARM64
public static final NativeSystem.Arch ARM64
-
SPARC
public static final NativeSystem.Arch SPARC
-
SPARC64
public static final NativeSystem.Arch SPARC64
-
PPC
public static final NativeSystem.Arch PPC
-
PPC64
public static final NativeSystem.Arch PPC64
-
x86
public static final NativeSystem.Arch x86
-
x86_64
public static final NativeSystem.Arch x86_64
-
UNSUPPORTED
public static final NativeSystem.Arch UNSUPPORTED
-
-
Method Detail
-
values
public static NativeSystem.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 (NativeSystem.Arch c : NativeSystem.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 NativeSystem.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
-
toString
public String toString()
- Overrides:
toString
in classEnum<NativeSystem.Arch>
-
-