public enum ClockReturn extends java.lang.Enum<ClockReturn>
Enum Constant and Description |
---|
BADTIME
A bad time was provided to a function.
|
BUSY
The ClockID is busy
|
EARLY
The operation was scheduled too late.
|
ERROR
An error occured
|
OK
The operation succeded.
|
UNSCHEDULED
The clockID was unscheduled
|
UNSUPPORTED
Operation is not supported
|
Modifier and Type | Method and Description |
---|---|
static ClockReturn |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ClockReturn[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClockReturn OK
public static final ClockReturn EARLY
public static final ClockReturn UNSCHEDULED
public static final ClockReturn BUSY
public static final ClockReturn BADTIME
public static final ClockReturn ERROR
public static final ClockReturn UNSUPPORTED
public static ClockReturn[] values()
for (ClockReturn c : ClockReturn.values()) System.out.println(c);
public static ClockReturn valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is null