public static enum SleepyTrainingListener.TimeMode extends Enum<SleepyTrainingListener.TimeMode>
| Enum Constant and Description |
|---|
ADDITIVE
In this mode, listener will be trying to match specified time for a given invocation method.
|
SIMPLE
In this mode, listener will just call
|
| Modifier and Type | Method and Description |
|---|---|
static SleepyTrainingListener.TimeMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SleepyTrainingListener.TimeMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SleepyTrainingListener.TimeMode ADDITIVE
public static final SleepyTrainingListener.TimeMode SIMPLE
public static SleepyTrainingListener.TimeMode[] values()
for (SleepyTrainingListener.TimeMode c : SleepyTrainingListener.TimeMode.values()) System.out.println(c);
public static SleepyTrainingListener.TimeMode 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 © 2018. All rights reserved.