org.virtualbox_7_0
Enum CPUArchitecture

java.lang.Object
  extended by java.lang.Enum<CPUArchitecture>
      extended by org.virtualbox_7_0.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: {4A2C9915-12F1-43B2-BB84-E4BD4D5CA227}


Enum Constant Summary
AMD64
          64-bit x86.
Any
          Matches any CPU architecture.
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.)

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)