org.virtualbox_7_1
Enum CPUArchitecture

java.lang.Object
  extended by java.lang.Enum<CPUArchitecture>
      extended by org.virtualbox_7_1.CPUArchitecture
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<CPUArchitecture>

public enum CPUArchitecture
extends java.lang.Enum<CPUArchitecture>

Basic CPU architecture types. Interface ID: {12906C63-9967-49C8-BA5A-6521ADAF0185}


Enum Constant Summary
AMD64
          64-bit x86.
Any
          Matches any CPU architecture.
ARMv8_32
          32-bit only ARMv8.
ARMv8_64
          64-bit only ARMv8.
x86
          32-bit (and 16-bit) x86.
 
Method Summary
static CPUArchitecture fromValue(long v)
           
static CPUArchitecture fromValue(java.lang.String v)
           
 int value()
           
static CPUArchitecture valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static CPUArchitecture[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Any

public static final CPUArchitecture Any
Matches any CPU architecture.


x86

public static final CPUArchitecture x86
32-bit (and 16-bit) x86.


AMD64

public static final CPUArchitecture AMD64
64-bit x86. (Also known as x86-64 or x64.)


ARMv8_32

public static final CPUArchitecture ARMv8_32
32-bit only ARMv8. (Also known as AArch32 or ARM32.)


ARMv8_64

public static final CPUArchitecture ARMv8_64
64-bit only ARMv8. (Also known as AArch64 or ARM64.)

Method Detail

values

public static CPUArchitecture[] 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 (CPUArchitecture c : CPUArchitecture.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static CPUArchitecture 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 name
java.lang.NullPointerException - if the argument is null

value

public int value()

fromValue

public static CPUArchitecture fromValue(long v)

fromValue

public static CPUArchitecture fromValue(java.lang.String v)