public static enum RunTimer.Granularity extends Enum<RunTimer.Granularity>
| Modifier and Type | Method and Description |
|---|---|
static RunTimer.Granularity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RunTimer.Granularity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RunTimer.Granularity MICROS
public static final RunTimer.Granularity SEC
public static final RunTimer.Granularity MILLIS
public static final RunTimer.Granularity MINS
public static final RunTimer.Granularity HOURS
public static RunTimer.Granularity[] values()
for (RunTimer.Granularity c : RunTimer.Granularity.values()) System.out.println(c);
public static RunTimer.Granularity 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 © 2015. All Rights Reserved.