jcommon.core
Enum ArchWordSize

java.lang.Object
  extended by java.lang.Enum<ArchWordSize>
      extended by jcommon.core.ArchWordSize
All Implemented Interfaces:
Serializable, Comparable<ArchWordSize>

public enum ArchWordSize
extends Enum<ArchWordSize>

Describes various processor architectures.

Author:
David Hoyt

Enum Constant Summary
Size128Bits
           
Size16Bits
           
Size256Bits
           
Size32Bits
           
Size64Bits
           
Size8Bits
           
Unknown
           
 
Method Summary
static ArchWordSize valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ArchWordSize[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Unknown

public static final ArchWordSize Unknown

Size8Bits

public static final ArchWordSize Size8Bits

Size16Bits

public static final ArchWordSize Size16Bits

Size32Bits

public static final ArchWordSize Size32Bits

Size64Bits

public static final ArchWordSize Size64Bits

Size128Bits

public static final ArchWordSize Size128Bits

Size256Bits

public static final ArchWordSize Size256Bits
Method Detail

values

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

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

valueOf

public static ArchWordSize 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 name
NullPointerException - if the argument is null


Copyright © 2012-2013. All Rights Reserved.