public static enum HoltWintersModel.SeasonalityType extends Enum<HoltWintersModel.SeasonalityType>
Enum Constant and Description |
---|
ADDITIVE |
MULTIPLICATIVE |
Modifier and Type | Method and Description |
---|---|
String |
getName()
Return the english-formatted name of the SeasonalityType
|
static HoltWintersModel.SeasonalityType |
parse(String text,
ParseFieldMatcher parseFieldMatcher)
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(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(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 null@Nullable public static HoltWintersModel.SeasonalityType parse(String text, ParseFieldMatcher parseFieldMatcher)
text
- SeasonalityType in string format (e.g. "add")parseFieldMatcher
- Matcher for field namespublic void writeTo(StreamOutput out) throws IOException
IOException
public static HoltWintersModel.SeasonalityType readFrom(StreamInput in) throws IOException
in
- the input streamIOException
public String getName()
Copyright © 2009–2017. All rights reserved.