public enum PacingType extends Enum<PacingType>
Modifier and Type | Method and Description |
---|---|
static PacingType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PacingType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PacingType GREEDY
public static final PacingType HOURLY
public static final PacingType DAILY
private final String type
public static PacingType[] values()
for (PacingType c : PacingType.values()) System.out.println(c);
public static PacingType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null