public static enum Clock.Type extends Enum<Clock.Type>
| Enum Constant and Description |
|---|
BOOTTIME |
BOOTTIME_ALARM |
MONOTONIC |
MONOTONIC_COARSE |
MONOTONIC_RAW |
PROCESS_CPUTIME_ID |
REALTIME |
REALTIME_ALARM |
REALTIME_COARSE |
TAI |
THREAD_CPUTIME_ID |
| Modifier and Type | Method and Description |
|---|---|
static Clock.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Clock.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Clock.Type REALTIME
public static final Clock.Type MONOTONIC
public static final Clock.Type PROCESS_CPUTIME_ID
public static final Clock.Type THREAD_CPUTIME_ID
public static final Clock.Type MONOTONIC_RAW
public static final Clock.Type REALTIME_COARSE
public static final Clock.Type MONOTONIC_COARSE
public static final Clock.Type BOOTTIME
public static final Clock.Type REALTIME_ALARM
public static final Clock.Type BOOTTIME_ALARM
public static final Clock.Type TAI
public static Clock.Type[] values()
for (Clock.Type c : Clock.Type.values()) System.out.println(c);
public static Clock.Type 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 © 2022. All rights reserved.