Package org.jocl
Enum LibUtils.ArchType
- java.lang.Object
-
- java.lang.Enum<LibUtils.ArchType>
-
- org.jocl.LibUtils.ArchType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<LibUtils.ArchType>
- Enclosing class:
- LibUtils
static enum LibUtils.ArchType extends java.lang.Enum<LibUtils.ArchType>
Enumeration of common CPU architectures.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
ArchType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LibUtils.ArchType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static LibUtils.ArchType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PPC
public static final LibUtils.ArchType PPC
-
PPC_64
public static final LibUtils.ArchType PPC_64
-
SPARC
public static final LibUtils.ArchType SPARC
-
X86
public static final LibUtils.ArchType X86
-
X86_64
public static final LibUtils.ArchType X86_64
-
ARM
public static final LibUtils.ArchType ARM
-
ARM64
public static final LibUtils.ArchType ARM64
-
MIPS
public static final LibUtils.ArchType MIPS
-
MIPS64
public static final LibUtils.ArchType MIPS64
-
RISC
public static final LibUtils.ArchType RISC
-
UNKNOWN
public static final LibUtils.ArchType UNKNOWN
-
-
Method Detail
-
values
public static LibUtils.ArchType[] 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 (LibUtils.ArchType c : LibUtils.ArchType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LibUtils.ArchType 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
-
-