public enum ClockId extends Enum<ClockId>
| Enum Constant and Description |
|---|
CLOCK_BOOTTIME |
CLOCK_BOOTTIME_ALARM |
CLOCK_MONOTONIC |
CLOCK_MONOTONIC_COARSE |
CLOCK_MONOTONIC_RAW |
CLOCK_PROCESS_CPUTIME_ID |
CLOCK_REALTIME |
CLOCK_REALTIME_ALARM |
CLOCK_REALTIME_COARSE |
CLOCK_SGI_CYCLE |
CLOCK_THREAD_CPUTIME_ID |
| Modifier and Type | Method and Description |
|---|---|
int |
value()
This method is a getter for the value instance variable.
|
static ClockId |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClockId[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClockId CLOCK_REALTIME
public static final ClockId CLOCK_MONOTONIC
public static final ClockId CLOCK_PROCESS_CPUTIME_ID
public static final ClockId CLOCK_THREAD_CPUTIME_ID
public static final ClockId CLOCK_MONOTONIC_RAW
public static final ClockId CLOCK_REALTIME_COARSE
public static final ClockId CLOCK_MONOTONIC_COARSE
public static final ClockId CLOCK_BOOTTIME
public static final ClockId CLOCK_REALTIME_ALARM
public static final ClockId CLOCK_BOOTTIME_ALARM
public static final ClockId CLOCK_SGI_CYCLE
public static ClockId[] values()
for (ClockId c : ClockId.values()) System.out.println(c);
public static ClockId 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 nullpublic int value()
Copyright © 2024. All rights reserved.