Serializable
, Comparable<DaemonLoopSleepTime>
, org.refcodes.mixin.MillisecondsAccessor
public enum DaemonLoopSleepTime extends Enum<DaemonLoopSleepTime> implements org.refcodes.mixin.MillisecondsAccessor
DaemonLoopSleepTime
defined values used inside a control flow.org.refcodes.mixin.MillisecondsAccessor.MillisecondsBuilder<B extends org.refcodes.mixin.MillisecondsAccessor.MillisecondsBuilder<B>>, org.refcodes.mixin.MillisecondsAccessor.MillisecondsMutator, org.refcodes.mixin.MillisecondsAccessor.MillisecondsProperty
Modifier and Type | Method | Description |
---|---|---|
int |
getMilliseconds() |
|
static DaemonLoopSleepTime |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static DaemonLoopSleepTime[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DaemonLoopSleepTime MIN
public static final DaemonLoopSleepTime NORM
public static final DaemonLoopSleepTime MAX
public static DaemonLoopSleepTime[] values()
for (DaemonLoopSleepTime c : DaemonLoopSleepTime.values()) System.out.println(c);
public static DaemonLoopSleepTime 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 getMilliseconds()
getMilliseconds
in interface org.refcodes.mixin.MillisecondsAccessor
Copyright © 2018. All rights reserved.