org.jboss.cdi.tck.tests.interceptors.definition.binding.overriding
Enum Aging.Speed
java.lang.Object
java.lang.Enum<Aging.Speed>
org.jboss.cdi.tck.tests.interceptors.definition.binding.overriding.Aging.Speed
- All Implemented Interfaces:
- Serializable, Comparable<Aging.Speed>
- Enclosing class:
- Aging
public static enum Aging.Speed
- extends Enum<Aging.Speed>
|
Method Summary |
static Aging.Speed |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Aging.Speed[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
FAST
public static final Aging.Speed FAST
SLOW
public static final Aging.Speed SLOW
values
public static Aging.Speed[] 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 (Aging.Speed c : Aging.Speed.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Aging.Speed 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 © 2008-2012 Seam Framework. All Rights Reserved.