public static enum HoltWintersModel.SeasonalityType extends java.lang.Enum<HoltWintersModel.SeasonalityType>
Enum Constant and Description |
---|
ADDITIVE |
MULTIPLICATIVE |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Return the english-formatted name of the SeasonalityType
|
static HoltWintersModel.SeasonalityType |
parse(java.lang.String text)
Parse a string SeasonalityType into the byte enum
|
static HoltWintersModel.SeasonalityType |
readFrom(StreamInput in)
Deserialize the SeasonalityType from the input stream
|
static HoltWintersModel.SeasonalityType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HoltWintersModel.SeasonalityType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
void |
writeTo(StreamOutput out)
Serialize the SeasonalityType to the output stream
|
public static final HoltWintersModel.SeasonalityType ADDITIVE
public static final HoltWintersModel.SeasonalityType MULTIPLICATIVE
public static HoltWintersModel.SeasonalityType[] values()
for (HoltWintersModel.SeasonalityType c : HoltWintersModel.SeasonalityType.values()) System.out.println(c);
public static HoltWintersModel.SeasonalityType 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@Nullable public static HoltWintersModel.SeasonalityType parse(java.lang.String text)
text
- SeasonalityType in string format (e.g. "add")public void writeTo(StreamOutput out) throws java.io.IOException
java.io.IOException
public static HoltWintersModel.SeasonalityType readFrom(StreamInput in) throws java.io.IOException
in
- the input streamjava.io.IOException
public java.lang.String getName()