public static enum Timer.Mode extends Enum<Timer.Mode>
| Enum Constant and Description |
|---|
PLATFORM_TICKS |
SEPARATE_THREAD |
| Modifier and Type | Method and Description |
|---|---|
static Timer.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Timer.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Timer.Mode PLATFORM_TICKS
public static final Timer.Mode SEPARATE_THREAD
public static Timer.Mode[] values()
for (Timer.Mode c : Timer.Mode.values()) System.out.println(c);
public static Timer.Mode 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 © 2025. All rights reserved.