com.b3dgs.lionengine.utility
Enum Architecture

java.lang.Object
  extended by java.lang.Enum<Architecture>
      extended by com.b3dgs.lionengine.utility.Architecture
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Architecture>

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

List of standard architectures.


Enum Constant Summary
UNKNOWN
          Unknown architecture.
x64
          64 bits.
x86
          32 bits.
 
Method Summary
static Architecture valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Architecture[] 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

x86

public static final Architecture x86
32 bits.


x64

public static final Architecture x64
64 bits.


UNKNOWN

public static final Architecture UNKNOWN
Unknown architecture.

Method Detail

values

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

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

valueOf

public static Architecture 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