org.jikesrvm.compilers.common.assembler.ia32
Enum Lister.Prefix
java.lang.Object
java.lang.Enum<Lister.Prefix>
org.jikesrvm.compilers.common.assembler.ia32.Lister.Prefix
- All Implemented Interfaces:
- Serializable, Comparable<Lister.Prefix>
- Enclosing class:
- Lister
private static enum Lister.Prefix
- extends Enum<Lister.Prefix>
|
Method Summary |
static Lister.Prefix |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Lister.Prefix[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
LOCK
public static final Lister.Prefix LOCK
LIKELY
public static final Lister.Prefix LIKELY
UNLIKELY
public static final Lister.Prefix UNLIKELY
values
public static Lister.Prefix[] 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 (Lister.Prefix c : Lister.Prefix.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Lister.Prefix 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