Enum StatFormatMethod
- java.lang.Object
-
- java.lang.Enum<StatFormatMethod>
-
- com.rivet.api.resources.game.common.types.StatFormatMethod
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<StatFormatMethod>
public enum StatFormatMethod extends java.lang.Enum<StatFormatMethod>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DURATION_HUNDREDTH_SECONDDURATION_MINUTEDURATION_SECONDFLOAT_1FLOAT_2FLOAT_3INTEGER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringtoString()static StatFormatMethodvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static StatFormatMethod[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INTEGER
public static final StatFormatMethod INTEGER
-
FLOAT_1
public static final StatFormatMethod FLOAT_1
-
FLOAT_2
public static final StatFormatMethod FLOAT_2
-
FLOAT_3
public static final StatFormatMethod FLOAT_3
-
DURATION_MINUTE
public static final StatFormatMethod DURATION_MINUTE
-
DURATION_SECOND
public static final StatFormatMethod DURATION_SECOND
-
DURATION_HUNDREDTH_SECOND
public static final StatFormatMethod DURATION_HUNDREDTH_SECOND
-
-
Method Detail
-
values
public static StatFormatMethod[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (StatFormatMethod c : StatFormatMethod.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StatFormatMethod valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Enum<StatFormatMethod>
-
-