jcommon.core
Enum ArchWordSize
java.lang.Object
java.lang.Enum<ArchWordSize>
jcommon.core.ArchWordSize
- All Implemented Interfaces:
- Serializable, Comparable<ArchWordSize>
public enum ArchWordSize
- extends Enum<ArchWordSize>
Describes various processor architectures.
- Author:
- David Hoyt
|
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. |
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
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.