public static enum Timer.SchedulingType extends Enum<Timer.SchedulingType>
Enum Constant and Description |
---|
FIXED_DELAY |
FIXED_RATE |
ONCE |
Modifier and Type | Method and Description |
---|---|
static Timer.SchedulingType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Timer.SchedulingType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Timer.SchedulingType ONCE
public static final Timer.SchedulingType FIXED_RATE
public static final Timer.SchedulingType FIXED_DELAY
public static Timer.SchedulingType[] values()
for (Timer.SchedulingType c : Timer.SchedulingType.values()) System.out.println(c);
public static Timer.SchedulingType 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 nullCopyright © 2013. All Rights Reserved.