public static enum BCLibConfig.TimeGap extends java.lang.Enum<BCLibConfig.TimeGap>
Modifier and Type | Method and Description |
---|---|
double |
convertTicksToGap(double ticks) |
float |
convertTicksToGap(float ticks) |
int |
convertTicksToGap(int ticks) |
long |
convertTicksToGap(long ticks) |
static BCLibConfig.TimeGap |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BCLibConfig.TimeGap[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BCLibConfig.TimeGap TICKS
public static final BCLibConfig.TimeGap SECONDS
public static BCLibConfig.TimeGap[] values()
for (BCLibConfig.TimeGap c : BCLibConfig.TimeGap.values()) System.out.println(c);
public static BCLibConfig.TimeGap 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 nullpublic int convertTicksToGap(int ticks)
public long convertTicksToGap(long ticks)
public float convertTicksToGap(float ticks)
public double convertTicksToGap(double ticks)